From 2b5f80eb5b1c3c11040a1b07fd261c5c801125e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Bul=C3=A1nek?= Date: Tue, 10 Dec 2024 08:23:10 +0100 Subject: [PATCH] fix: dataframe styles (#10) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Petr Bulánek --- src/styles/style.scss | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/styles/style.scss b/src/styles/style.scss index 08809c7..3875cf5 100644 --- a/src/styles/style.scss +++ b/src/styles/style.scss @@ -255,6 +255,10 @@ } } + .stForm { + border-color: $border-subtle; + } + .stButton, .stDownloadButton, .stFormSubmitButton { @@ -470,6 +474,10 @@ } } + .stDataFrame { + inline-size: 100%; + } + .stRadio { [role='radiogroup'] { gap: $spacing-03; @@ -637,10 +645,16 @@ box-shadow: none; color: inherit; } - &:hover { + &:hover:not(:disabled) { background-color: $button-primary; color: $text-on-color; } + &:disabled { + color: $text-on-color-disabled; + } + svg { + color: inherit; + } } [data-testid='InputInstructions'] {