Skip to content

A platform for community discussion. Free, open, simple.

UX: fix emoji size in post excerpts (#34924)

chapoia9f48c02afbc
diff --git a/app/assets/stylesheets/common/base/_topic-list.scss b/app/assets/stylesheets/common/base/_topic-list.scss
index 7fb5edda015..592fa5466f7 100644
--- a/app/assets/stylesheets/common/base/_topic-list.scss
+++ b/app/assets/stylesheets/common/base/_topic-list.scss
@@ -136,6 +136,13 @@
margin-bottom: var(--space-2);
font-size: var(--font-down-2);
word-break: break-word;
+
+ // special exception case because this class gets applied where it shouldn't, example in excerpts in bookmark pages
+ .only-emoji {
+ width: 1em;
+ height: 1em;
+ margin-block: 0;
+ }
}
}