Revert "CSS simplifications"

This reverts commit c6c1b725e9.
This commit is contained in:
oobabooga 2025-07-10 18:42:52 -07:00
parent 635e6efd18
commit 188c7c8f2b
6 changed files with 110 additions and 6 deletions

View file

@ -38,6 +38,10 @@
text-shadow: 2px 2px 2px rgb(0 0 0 / 40%);
}
.text p {
margin-top: 2px;
}
.username {
padding-left: 10px;
font-size: 22px;
@ -131,7 +135,7 @@
}
}
/* Standard spacing from instruct style */
/* Standard spacing */
.chat .message-body :is(p, ul, ol) {
margin: 1.25em 0 !important;
}
@ -143,3 +147,17 @@
.chat .message-body :is(p, ul, ol):last-child {
margin-bottom: 0 !important;
}
.chat .message-body ul, .chat .message-body ol {
padding-inline-start: 2em;
}
.message-body li {
list-style-position: outside;
margin-top: 0.5em !important;
margin-bottom: 0.5em !important;
}
.message-body li > p {
display: inline !important;
}