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
2 changed files with 2 additions and 7 deletions
+2 -6
View File
@@ -83,16 +83,12 @@ div:has(> #positive_prompt) {
background: var(--background-fill-primary); background: var(--background-fill-primary);
} }
#positive_prompt textarea {
height: 80px;
}
.type_row { .type_row {
height: 80px !important; height: 84px !important;
} }
.type_row_half { .type_row_half {
height: 32px !important; height: 34px !important;
} }
.refresh_button { .refresh_button {
-1
View File
@@ -55,7 +55,6 @@ window.addEventListener('resize', (e) => {
onUiLoaded(async () => { onUiLoaded(async () => {
resized(); resized();
setTimeout(() => document.querySelector("#positive_prompt textarea").style.height = "80px");
}); });
function on_style_selection_blur() { function on_style_selection_blur() {