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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user