mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 14:42:11 -03:00
feat(modal): add scrollbar-gutter to prevent layout shift
This commit is contained in:
@@ -35,6 +35,7 @@ body.modal-open {
|
|||||||
0 10px 15px -3px rgba(0, 0, 0, 0.05);
|
0 10px 15px -3px rgba(0, 0, 0, 0.05);
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
overflow-x: hidden; /* 防止水平滚动条 */
|
overflow-x: hidden; /* 防止水平滚动条 */
|
||||||
|
scrollbar-gutter: stable both-edges; /* Reserve space to prevent layout shift when scrollbar toggles */
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-content-large {
|
.modal-content-large {
|
||||||
|
|||||||
Reference in New Issue
Block a user