Fix twemoji scaling
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
ea5b63af18
commit
0f963a93f1
2 changed files with 7 additions and 6 deletions
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
& img.emoji,
|
& img.emoji,
|
||||||
& img[data-mx-emoticon] {
|
& img[data-mx-emoticon] {
|
||||||
height: var(--fs-#{$type});
|
height: calc(var(--lh-#{$type}) - .25rem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,7 +20,8 @@
|
||||||
margin-right: 2px !important;
|
margin-right: 2px !important;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 2px;
|
top: -.1rem;
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -241,8 +241,8 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
& .react-emoji {
|
& .react-emoji {
|
||||||
width: 14px;
|
width: 16px;
|
||||||
height: 14px;
|
height: 16px;
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
}
|
}
|
||||||
&-count {
|
&-count {
|
||||||
|
@ -250,8 +250,8 @@
|
||||||
color: var(--tc-surface-normal)
|
color: var(--tc-surface-normal)
|
||||||
}
|
}
|
||||||
&-tooltip .react-emoji {
|
&-tooltip .react-emoji {
|
||||||
width: 14px;
|
width: 16px;
|
||||||
height: 14px;
|
height: 16px;
|
||||||
margin: 0 var(--sp-ultra-tight);
|
margin: 0 var(--sp-ultra-tight);
|
||||||
margin-bottom: -2px;
|
margin-bottom: -2px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue