Skip to content

Commit db3b855

Browse files
authored
Chat / Tags: Fix standard emoji on Windows (#463)
1 parent 17fe96d commit db3b855

2 files changed

Lines changed: 12 additions & 8 deletions

File tree

‎src/components/left/main/ChatTags.module.scss‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,23 @@
55
}
66

77
.tag {
8+
--emoji-size: 0.75rem;
89
--custom-emoji-size: 0.75rem;
910

1011
position: relative;
1112

13+
display: flex;
1214
flex-shrink: 0;
15+
align-items: center;
16+
justify-content: center;
1317

1418
min-width: 1.5rem;
15-
padding: 0 0.25rem;
19+
padding: 0.0625rem 0.25rem;
1620
border-radius: 0.25rem;
1721

1822
font-size: 0.625rem;
1923
font-weight: var(--font-weight-medium);
20-
line-height: 0.875rem;
24+
line-height: 0.75rem;
2125
color: var(--accent-color);
2226
text-align: center;
2327
text-transform: uppercase;

‎src/components/middle/MessageListAccountInfo.module.scss‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
width: 100%;
66
height: 100%;
77
padding: 0 0.6875rem;
8+
9+
:global(.emoji-small) {
10+
width: 1rem;
11+
height: 1rem;
12+
margin-top: -0.1875rem;
13+
}
814
}
915

1016
.chatInfo {
@@ -75,12 +81,6 @@
7581
height: 1rem;
7682
}
7783

78-
:global(.emoji-small) {
79-
width: 1rem;
80-
height: 1rem;
81-
margin-top: -0.1875rem;
82-
}
83-
8484
.chatNotVerified {
8585
display: flex;
8686
gap: 0.25rem;

0 commit comments

Comments
 (0)