feat: set row height to 84, exactly matching 3 lines for positive prompt

eliminate need for JS to resize positive prompt onUiLoaded
This commit is contained in:
Manuel Schmid 2024-06-02 01:54:55 +02:00
parent 6e555fa35a
commit 12bc7af067
No known key found for this signature in database
GPG Key ID: 32C4F7569B40B84B
2 changed files with 2 additions and 7 deletions

View File

@ -83,16 +83,12 @@ div:has(> #positive_prompt) {
background: var(--background-fill-primary);
}
#positive_prompt textarea {
height: 80px;
}
.type_row {
height: 80px !important;
height: 84px !important;
}
.type_row_half {
height: 32px !important;
height: 34px !important;
}
.refresh_button {

View File

@ -55,7 +55,6 @@ window.addEventListener('resize', (e) => {
onUiLoaded(async () => {
resized();
setTimeout(() => document.querySelector("#positive_prompt textarea").style.height = "80px");
});
function on_style_selection_blur() {