Adjust token counter height

This commit is contained in:
oobabooga 2023-09-15 08:50:59 -07:00
parent fdcee0c215
commit 985020f038

View File

@ -147,7 +147,7 @@ div.svelte-15lo0d8 > *, div.svelte-15lo0d8 > .form > * {
} }
div .default-token-counter { div .default-token-counter {
top: calc( 0.5 * (100dvh - 245px) ) !important; top: calc( 0.5 * (100dvh - 238px) ) !important;
} }
.transparent-substring { .transparent-substring {
@ -230,7 +230,7 @@ audio {
/* Copied from https://github.com/AUTOMATIC1111/stable-diffusion-webui */ /* Copied from https://github.com/AUTOMATIC1111/stable-diffusion-webui */
.token-counter { .token-counter {
position: absolute !important; position: absolute !important;
top: calc( 0.5 * (100dvh - 215px) ) !important; top: calc( 0.5 * (100dvh - 218px) ) !important;
right: 2px; right: 2px;
z-index: 100; z-index: 100;
background: var(--input-background-fill) !important; background: var(--input-background-fill) !important;
@ -238,7 +238,7 @@ audio {
} }
.default-token-counter { .default-token-counter {
top: calc( 0.5 * (100dvh - 255px) ) !important; top: calc( 0.5 * (100dvh - 257px) ) !important;
} }
.token-counter span { .token-counter span {