From b10d735176c42042acb1ecafe580e83ed71afe83 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Wed, 19 Jun 2024 17:40:33 -0700 Subject: [PATCH] Minor CSS linting --- css/html_instruct_style.css | 4 ++-- css/main.css | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/css/html_instruct_style.css b/css/html_instruct_style.css index 8891d180..bdf68aad 100644 --- a/css/html_instruct_style.css +++ b/css/html_instruct_style.css @@ -62,8 +62,8 @@ .gradio-container .chat .user-message { padding: 20px; - padding-left: 0px; - padding-right: 0px; + padding-left: 0; + padding-right: 0; background-color: transparent; border-radius: 8px; border-bottom-right-radius: 0; diff --git a/css/main.css b/css/main.css index a1ff2a36..0c149d2c 100644 --- a/css/main.css +++ b/css/main.css @@ -96,7 +96,7 @@ gradio-app > :first-child { .header_bar { background-color: #f7f7f7; - box-shadow: 0 0px 3px rgba(22 22 22 / 35%); + box-shadow: 0 0 3px rgba(22 22 22 / 35%); margin-bottom: 0; overflow-x: scroll; margin-left: calc(-1 * var(--size-4)); @@ -433,12 +433,12 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* { .message-body code { white-space: pre-wrap !important; word-wrap: break-word !important; - border: 1px solid #666666; + border: 1px solid #666; border-radius: 5px; font-size: 82%; padding: 1px 3px; background: #0d1117 !important; - color: rgb(201, 209, 217); + color: rgb(201 209 217); } .message-body pre > code {