fix(config): prevent device-card text overflow in printer grid

- Add min-width:0 and overflow-wrap:break-word to .device-card
- Add min-width:0 and overflow-wrap:break-word to .device-card__body
- Prevents grid items from expanding beyond their cell when content is wide
- Bump config.css cache-bust to v=2
This commit is contained in:
2026-05-18 07:19:37 +00:00
parent 07b9b9130a
commit dbf45e374b
2 changed files with 32 additions and 4 deletions

View File

@@ -1041,6 +1041,8 @@
gap: var(--space-4);
box-shadow: var(--shadow-sm);
transition: var(--transition-normal);
min-width: 0;
overflow-wrap: break-word;
}
[data-theme="modern"] .device-card {
@@ -1073,7 +1075,7 @@
stroke-linejoin: round;
}
.device-card__body { flex: 1; }
.device-card__body { flex: 1; min-width: 0; overflow-wrap: break-word; }
.device-card__name {
font-weight: var(--font-weight-semibold);