mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-29 02:45:05 +08:00
fix broken resize handle on the train tab
This commit is contained in:
parent
9409419afb
commit
a43ce7eabb
@ -79,6 +79,11 @@
|
|||||||
parent.minRightColWidth = 0;
|
parent.minRightColWidth = 0;
|
||||||
parent.needHideOnMoblie = false;
|
parent.needHideOnMoblie = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!leftColTemplate) {
|
||||||
|
leftColTemplate = '1fr';
|
||||||
|
}
|
||||||
|
|
||||||
const gridTemplateColumns = `${leftColTemplate} ${PAD}px ${parent.children[1].style.flexGrow}fr`;
|
const gridTemplateColumns = `${leftColTemplate} ${PAD}px ${parent.children[1].style.flexGrow}fr`;
|
||||||
parent.style.gridTemplateColumns = gridTemplateColumns;
|
parent.style.gridTemplateColumns = gridTemplateColumns;
|
||||||
parent.style.originalGridTemplateColumns = gridTemplateColumns;
|
parent.style.originalGridTemplateColumns = gridTemplateColumns;
|
||||||
|
Loading…
Reference in New Issue
Block a user