Skip to content

Commit 99f0fbc

Browse files
committed
fix(styles): enlarge SymbolInput
1 parent b240770 commit 99f0fbc

File tree

4 files changed

+21
-8
lines changed

4 files changed

+21
-8
lines changed

src/components/EmojiPicker.vue

+6
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ export default {
6262
padding: 3px;
6363
cursor: pointer;
6464
border-radius: 4px;
65+
text-align: center;
66+
font-size: 20px;
6567
}
6668
6769
.emoji-picker-item:hover {
@@ -71,4 +73,8 @@ export default {
7173
.emoji-picker-container .el-tabs__header {
7274
margin-top: 0px !important;
7375
}
76+
77+
.emoji-picker-container .el-tabs__item {
78+
font-size: 20px;
79+
}
7480
</style>

src/components/EmoticonPicker.vue

+7-3
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,23 @@ export default {
4444
.emoticon-picker-header {
4545
display: flex;
4646
align-items: center;
47-
justify-content: space-between;
47+
justify-content: flex-start;
4848
margin-bottom: 10px;
4949
}
5050
51+
.emoticon-picker-header span{
52+
display: inline-block;
53+
margin-left: 0.5em;
54+
}
55+
5156
.emoticon-picker-header > span {
5257
display: inline-block;
53-
width: 40%;
5458
text-align: center;
5559
cursor: pointer;
5660
}
5761
5862
.emoticon-picker-item {
59-
padding: 5px 8px;
63+
padding: 8px 10px;
6064
display: inline-block;
6165
cursor: pointer;
6266
border-radius: 4px;

src/components/SymbolInput.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<template>
22
<div class="symbol-input-container">
3-
<el-popover placement="bottom" width="200" trigger="focus">
3+
<el-popover placement="bottom" width="300" trigger="focus">
44
<div class="emoji-input-popover">
55
<el-tabs value="first">
6-
<el-tab-pane label="(//▽//)" name="first">
6+
<el-tab-pane label="w(゚Д゚)w" name="first">
77
<emoticon-picker @input="handleInput" />
88
</el-tab-pane>
9-
<el-tab-pane label="😀 🍉 🌈" name="second">
9+
<el-tab-pane label="Emoji 😆" name="second">
1010
<emoji-picker @input="handleInput" />
1111
</el-tab-pane>
1212
</el-tabs>

src/pages/Story.vue

+5-2
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export default {
120120
options: [
121121
{ value: "color", label: "Color 🌈" },
122122
{ value: "emoji", label: "Emoji 😆" },
123-
{ value: "emoticon", label: "Emoticon w(゚Д゚)w" },
123+
{ value: "emoticon", label: "w(゚Д゚)w" },
124124
],
125125
selectedValue: "color",
126126
emojis,
@@ -298,7 +298,6 @@ export default {
298298
.story-emoji-container {
299299
display: grid;
300300
grid-template-columns: repeat(24, 1fr);
301-
margin-bottom: 2em;
302301
}
303302
304303
.story-emoji-container span {
@@ -361,4 +360,8 @@ export default {
361360
display: inline-block;
362361
margin: 0.5em 0;
363362
}
363+
364+
.story-body {
365+
margin-bottom: 2.5em;
366+
}
364367
</style>

0 commit comments

Comments
 (0)