Add file size display and formatting to Lora modal

This commit is contained in:
Will Miao
2025-03-03 12:07:33 +08:00
parent db5d479c0e
commit 3b4f3c1b44
3 changed files with 67 additions and 7 deletions

View File

@@ -939,4 +939,37 @@ body.modal-open {
.file-name-wrapper:hover i {
opacity: 1;
color: var(--lora-accent);
}
/* Location and Size combined styles */
.info-item.location-size {
display: block;
}
/* Base Model and Size combined styles */
.info-item.base-size {
display: flex;
gap: var(--space-3);
}
.base-wrapper {
flex: 2; /* 分配更多空间给base model */
}
.size-wrapper {
flex: 1;
border-left: 1px solid var(--lora-border);
padding-left: var(--space-3);
}
.base-wrapper label,
.size-wrapper label {
display: block;
margin-bottom: 4px;
}
.size-wrapper span {
font-family: monospace;
font-size: 0.9em;
opacity: 0.9;
}