UI: fix h1/h2/h3/h4 color in light mode

This commit is contained in:
oobabooga 2024-07-22 18:18:02 -07:00
parent f18c947a86
commit 7e73058943

View File

@ -62,10 +62,6 @@ ol li p, ul li p {
border: 0; border: 0;
} }
.gradio-container-3-18-0 .prose * h1, h2, h3, h4 {
color: white;
}
.gradio-container { .gradio-container {
max-width: 100% !important; max-width: 100% !important;
padding-top: 0 !important; padding-top: 0 !important;
@ -403,6 +399,13 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
padding-bottom: 15px !important; padding-bottom: 15px !important;
} }
.message-body h1,
.message-body h2,
.message-body h3,
.message-body h4 {
color: var(--body-text-color);
}
.message-body li { .message-body li {
list-style-position: outside; list-style-position: outside;
} }
@ -805,4 +808,3 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
max-height: 300px; max-height: 300px;
} }
} }