mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-25 15:15:44 -03:00
Fix issue with incomplete display caused by too many folders
This commit is contained in:
@@ -124,13 +124,16 @@
|
|||||||
.folder-tags-container {
|
.folder-tags-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
margin-bottom: 8px; /* Add margin to ensure space for the button */
|
||||||
}
|
}
|
||||||
|
|
||||||
.folder-tags {
|
.folder-tags {
|
||||||
transition: max-height 0.3s ease, opacity 0.2s ease;
|
transition: max-height 0.3s ease, opacity 0.2s ease;
|
||||||
max-height: 200px;
|
max-height: 150px; /* Limit height to prevent overflow */
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
overflow: hidden;
|
overflow-y: auto; /* Enable vertical scrolling */
|
||||||
|
padding-right: 40px; /* Make space for the toggle button */
|
||||||
|
margin-bottom: 5px; /* Add margin below the tags */
|
||||||
}
|
}
|
||||||
|
|
||||||
.folder-tags.collapsed {
|
.folder-tags.collapsed {
|
||||||
@@ -184,11 +187,29 @@
|
|||||||
.folder-tags {
|
.folder-tags {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
overflow-x: auto;
|
|
||||||
padding: 2px 0;
|
padding: 2px 0;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Add custom scrollbar for better visibility */
|
||||||
|
.folder-tags::-webkit-scrollbar {
|
||||||
|
width: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.folder-tags::-webkit-scrollbar-track {
|
||||||
|
background: var(--card-bg);
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.folder-tags::-webkit-scrollbar-thumb {
|
||||||
|
background: var(--border-color);
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.folder-tags::-webkit-scrollbar-thumb:hover {
|
||||||
|
background: var(--lora-accent);
|
||||||
|
}
|
||||||
|
|
||||||
.tag {
|
.tag {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 2px 8px;
|
padding: 2px 8px;
|
||||||
|
|||||||
Reference in New Issue
Block a user