From 8cd899515e94dc273f7c9ef5e5706bffc1cebf22 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Thu, 6 Apr 2023 12:00:20 -0300 Subject: [PATCH] Change instruct html a bit --- css/html_instruct_style.css | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/css/html_instruct_style.css b/css/html_instruct_style.css index d45a3e4b..13a97f8a 100644 --- a/css/html_instruct_style.css +++ b/css/html_instruct_style.css @@ -42,15 +42,19 @@ color: rgb(110, 110, 110) !important; } -.assistant-message { +.gradio-container .chat .assistant-message { padding: 15px; + border-radius: 20px; + background-color: #0000000f; + margin-bottom: 17.5px; } -.user-message { +.gradio-container .chat .user-message { padding: 15px; - background-color: #f1f1f1; + border-radius: 20px; + margin-bottom: 17.5px !important; } -.dark .user-message { - background-color: #ffffff1a; +.dark .chat .assistant-message { + background-color: #ffffff21; } \ No newline at end of file