mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
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:
+2
-6
@@ -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 {
|
||||||
|
|||||||
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user