Keep emoji at code size inside code blocks so line numbers stay aligned (#34497)

This commit is contained in:
hayyaksi
2026-08-05 14:50:25 +00:00
committed by GitHub
parent d1e176bd2a
commit eab7704b98
2 changed files with 30 additions and 0 deletions
@@ -851,6 +851,12 @@ $left-gutter: 64px;
/* For correct positioning of _copyButton (See TextualBody) */
position: relative;
/* Emoji are enlarged in prose, but a code block's line numbers are one fixed-height block
per line and cannot follow a line that an enlarged emoji has made taller. */
.mx_Emoji {
font-size: inherit;
}
&:focus-within,
&:hover {
.mx_EventTile_button {