UI: improve the heading fonts

This commit is contained in:
oobabooga 2024-12-19 12:21:28 -08:00
parent fee23df1a5
commit 836a868abc
2 changed files with 58 additions and 19 deletions

View file

@ -17,28 +17,19 @@
line-height: 28px !important;
}
.dark .chat .message-body p,
.dark .chat .message-body li,
.dark .chat .message-body q {
.dark .chat .message-body :is(p, li, q, h1, h2, h3, h4, h5, h6) {
color: #d1d5db !important;
}
.chat .message-body p,
.chat .message-body ul,
.chat .message-body ol {
margin-top: 1.25em !important;
margin-bottom: 1.25em !important;
.chat .message-body :is(p, ul, ol) {
margin: 1.25em 0 !important;
}
.chat .message-body p:first-child,
.chat .message-body ul:first-child,
.chat .message-body ol:first-child {
.chat .message-body :is(p, ul, ol):first-child {
margin-top: 0 !important;
}
.chat .message-body p:last-child,
.chat .message-body ul:last-child,
.chat .message-body ol:last-child {
.chat .message-body :is(p, ul, ol):last-child {
margin-bottom: 0 !important;
}