This commit is contained in:
Christian Bastian
2024-09-23 23:15:32 -04:00
3 changed files with 102 additions and 33 deletions

View File

@@ -55,6 +55,9 @@
--model-manager-sidebar-height-top: 50vh;
--model-manager-sidebar-height-bottom: 50vh;
--model-manager-thumbnail-width: 240px;
--model-manager-thumbnail-height: 360px;
--model-manager-left: 0;
--model-manager-right: 0;
--model-manager-top: 0;
@@ -407,8 +410,8 @@
/* preview image */
.model-manager .item {
position: relative;
width: 240px;
height: 360px;
width: var(--model-manager-thumbnail-width);;
height: var(--model-manager-thumbnail-height);;
text-align: center;
overflow: hidden;
border-radius: 8px;
@@ -500,7 +503,6 @@
.model-manager .comfy-grid .model-preview-top-right,
.model-manager .comfy-grid .model-preview-top-left {
position: absolute;
display: flex;
flex-direction: column;
gap: 8px;
top: 8px;
@@ -514,6 +516,15 @@
left: 8px;
}
.model-manager .item .model-buttons-hidden {
display: none;
}
.model-manager .item:hover .model-buttons-hidden,
.model-manager .comfy-grid .model-buttons-visible {
display: flex;
}
.model-manager .comfy-grid .model-button {
opacity: 0.65;
}