fix: prevent list marker overflow in messages (#14618)

This commit is contained in:
Sivin Varghese
2026-06-03 14:18:48 +05:30
committed by GitHub
parent 0d59fb4459
commit d028cc1984
2 changed files with 33 additions and 16 deletions
+15 -4
View File
@@ -34,13 +34,24 @@ body {
.message-content {
ul {
list-style: disc;
@apply ltr:pl-3 rtl:pr-3;
@apply list-disc list-inside;
}
ol {
list-style: decimal;
@apply ltr:pl-4 rtl:pr-4;
@apply list-decimal list-inside;
}
li {
padding-inline-start: 1.5em;
text-indent: -1.5em;
> p:first-child {
@apply inline;
}
> * {
text-indent: 0;
}
}
}