Skip to content

Commit 499ba4e

Browse files
committed
(UI) improve menu and emoji
1 parent 30c9290 commit 499ba4e

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

src/ChatWindow/EmojiPicker.vue

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,14 @@ export default {
129129
z-index: 9999;
130130
bottom: 32px;
131131
right: 10px;
132-
border: var(--chat-border-style);
133132
width: 240px;
134133
overflow: scroll;
135-
padding: 1rem;
134+
padding: 16px;
136135
box-sizing: border-box;
137136
border-radius: 0.5rem;
138137
background: var(--chat-emoji-bg-color);
138+
box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.1),
139+
0 1px 2px -1px rgba(0, 0, 0, 0.1), 0 1px 2px 1px rgba(0, 0, 0, 0.1);
139140
}
140141
141142
.picker-reaction {
@@ -152,14 +153,14 @@ export default {
152153
flex: 1;
153154
border-radius: 10rem;
154155
border: var(--chat-border-style);
155-
padding: 0.5rem 1rem;
156+
padding: 5px 10px;
156157
outline: none;
157158
background: var(--chat-bg-color-input);
158159
color: var(--chat-color);
159160
}
160161
161162
.emoji-picker h5 {
162-
margin: 20px 0 8px;
163+
margin: 15px 0 8px;
163164
color: #b1b1b1;
164165
text-transform: uppercase;
165166
font-size: 0.8rem;

src/styles/menu.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
-ms-flex: 1 1 100%;
2727
flex: 1 1 100%;
2828
min-height: 30px;
29-
padding: 7px 16px;
29+
padding: 5px 16px;
3030
position: relative;
3131
white-space: nowrap;
3232
line-height: 30px;
@@ -40,10 +40,10 @@
4040
min-width: 150px;
4141
display: inline-block;
4242
border-radius: 4px;
43-
font-size: 15px;
43+
font-size: 14px;
4444
overflow-y: auto;
4545
overflow-x: hidden;
4646
contain: content;
47-
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
48-
0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
47+
box-shadow: 0 2px 2px -4px rgba(0, 0, 0, 0.1),
48+
0 2px 2px 1px rgba(0, 0, 0, 0.12), 0 1px 8px 1px rgba(0, 0, 0, 0.12);
4949
}

0 commit comments

Comments
 (0)