diff --git a/web_src/css/base.css b/web_src/css/base.css index 1a354c9663..01eff4ac07 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -1225,14 +1225,7 @@ table th[data-sortt-desc] .svg { box-shadow: 0 0 0 1px var(--color-secondary) inset; } -.emoji { - font-size: 1.25em; - line-height: var(--line-height-default); - font-style: normal !important; - font-weight: var(--font-weight-normal) !important; - vertical-align: -0.075em; -} - +/* for "image" emojis like ":git:" ":gitea:" and ":github:" (see CUSTOM_EMOJIS config option) */ .emoji img { border-width: 0 !important; margin: 0 !important; diff --git a/web_src/css/markup/content.css b/web_src/css/markup/content.css index d2dcf2ec6e..4c6940e027 100644 --- a/web_src/css/markup/content.css +++ b/web_src/css/markup/content.css @@ -337,11 +337,6 @@ padding-right: 28px; } -.markup .emoji { - max-width: none; - vertical-align: text-top; -} - .markup span.frame { display: block; overflow: hidden;