From 7e73058943161e3cd6b1ce7eb87f7975c9ac9598 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Mon, 22 Jul 2024 18:18:02 -0700 Subject: [PATCH] UI: fix h1/h2/h3/h4 color in light mode --- css/main.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/css/main.css b/css/main.css index 1e339af3..d8e12e59 100644 --- a/css/main.css +++ b/css/main.css @@ -62,10 +62,6 @@ ol li p, ul li p { border: 0; } -.gradio-container-3-18-0 .prose * h1, h2, h3, h4 { - color: white; -} - .gradio-container { max-width: 100% !important; padding-top: 0 !important; @@ -403,6 +399,13 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* { padding-bottom: 15px !important; } +.message-body h1, +.message-body h2, +.message-body h3, +.message-body h4 { + color: var(--body-text-color); +} + .message-body li { list-style-position: outside; } @@ -805,4 +808,3 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* { max-height: 300px; } } -