From 985020f03888b64c74c4b46e327d781876135176 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Fri, 15 Sep 2023 08:50:59 -0700 Subject: [PATCH] Adjust token counter height --- css/main.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/css/main.css b/css/main.css index 220c841..b513591 100644 --- a/css/main.css +++ b/css/main.css @@ -147,7 +147,7 @@ div.svelte-15lo0d8 > *, div.svelte-15lo0d8 > .form > * { } div .default-token-counter { - top: calc( 0.5 * (100dvh - 245px) ) !important; + top: calc( 0.5 * (100dvh - 238px) ) !important; } .transparent-substring { @@ -230,7 +230,7 @@ audio { /* Copied from https://github.com/AUTOMATIC1111/stable-diffusion-webui */ .token-counter { position: absolute !important; - top: calc( 0.5 * (100dvh - 215px) ) !important; + top: calc( 0.5 * (100dvh - 218px) ) !important; right: 2px; z-index: 100; background: var(--input-background-fill) !important; @@ -238,7 +238,7 @@ audio { } .default-token-counter { - top: calc( 0.5 * (100dvh - 255px) ) !important; + top: calc( 0.5 * (100dvh - 257px) ) !important; } .token-counter span {