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:
parent
6e555fa35a
commit
12bc7af067
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue