mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
fix: display long LoRA filenames in multiple lines in preview tooltip
Previously, long LoRA filenames were truncated from the right with ellipsis, which hid important checkpoint step numbers (e.g., -00800, -01000) that users need to distinguish between different training checkpoints. Changes: - Replace single-line truncation with multi-line display (max 3 lines) - Add line-height and word-break properties for better readability - Use -webkit-line-clamp to gracefully handle extremely long names This ensures the step number suffix is always visible in the tooltip.
This commit is contained in:
@@ -35,12 +35,16 @@
|
|||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
|
font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
|
||||||
background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
|
background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
backdrop-filter: blur(4px);
|
backdrop-filter: blur(4px);
|
||||||
-webkit-backdrop-filter: blur(4px);
|
-webkit-backdrop-filter: blur(4px);
|
||||||
|
line-height: 1.4;
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
word-break: break-word;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 3;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lm-tooltip__license-overlay {
|
.lm-tooltip__license-overlay {
|
||||||
|
|||||||
Reference in New Issue
Block a user