Fix formatting of rich text emotes (#12862)

and add them to the new test suite

Fixes https://github.com/element-hq/element-web/issues/27896
This commit is contained in:
David Baker 2024-08-05 13:58:35 +01:00 committed by GitHub
parent 92bf203a19
commit cbd2379ff7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 25 additions and 0 deletions

View file

@ -787,6 +787,17 @@ $left-gutter: 64px;
ul {
list-style-type: disc;
}
/* override styles from the base markdown CSS that put markdown content on its own line,
as this isn't what we want for richtext emote content.
*/
&::before {
display: none;
}
&::after {
display: none;
}
}
}