mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-26 01:30:20 +01:00
Adjust token counter height
This commit is contained in:
parent
fdcee0c215
commit
985020f038
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user