Skip to content

Commit 2aa8305

Browse files
committed
Simplify emoji rendering
It seems like most of our custom styles around the .emoji class are useless and we can just make them render like any other text. Fixes: go-gitea#34019
1 parent b542769 commit 2aa8305

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

web_src/css/base.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -989,14 +989,6 @@ table th[data-sortt-desc] .svg {
989989
box-shadow: 0 0 0 1px var(--color-secondary) inset;
990990
}
991991

992-
.emoji {
993-
font-size: 1.25em;
994-
line-height: var(--line-height-default);
995-
font-style: normal !important;
996-
font-weight: var(--font-weight-normal) !important;
997-
vertical-align: -0.075em;
998-
}
999-
1000992
.emoji img {
1001993
border-width: 0 !important;
1002994
margin: 0 !important;

web_src/css/markup/content.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,6 @@
338338

339339
.markup .emoji {
340340
max-width: none;
341-
vertical-align: text-top;
342341
}
343342

344343
.markup span.frame {

0 commit comments

Comments
 (0)