From 9d7ed3dc482a4b109b30635e58449a4c806f3cca Mon Sep 17 00:00:00 2001 From: Jean Tinland Date: Mon, 20 May 2024 10:35:10 +0200 Subject: [PATCH] Fix no color in data --- lib/styles/core/base.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/styles/core/base.js b/lib/styles/core/base.js index 01d0705a..dcb1c63f 100644 --- a/lib/styles/core/base.js +++ b/lib/styles/core/base.js @@ -53,9 +53,6 @@ const baseStyles = /* css */ ` .simple-bar--no-bar-background { background-color: transparent; } -.simple-bar--no-color-in-data { - color: var(--white); -} .simple-bar--empty { height: var(--bar-height); display: flex; @@ -90,6 +87,9 @@ const baseStyles = /* css */ ` .simple-bar__data:empty { display: none; } +.simple-bar--no-color-in-data .simple-bar__data { + color: var(--white); +} .simple-bar--no-bar-background .simple-bar__data { padding: 4px 5px 4px 0; background-color: var(--background);