fix: prevent grid rep titles from stretching container
This commit is contained in:
parent
999f03f42c
commit
3bbebeb588
1 changed files with 2 additions and 0 deletions
|
|
@ -164,6 +164,7 @@
|
|||
flex-direction: column;
|
||||
gap: $unit-fourth;
|
||||
padding: $unit-half 0;
|
||||
min-width: 0; /* Critical: allows flex child to shrink below content size */
|
||||
|
||||
h2 {
|
||||
color: var(--text-primary);
|
||||
|
|
@ -174,6 +175,7 @@
|
|||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
margin: 0;
|
||||
line-height: 1.2;
|
||||
|
||||
&.empty {
|
||||
color: var(--text-tertiary);
|
||||
|
|
|
|||
Loading…
Reference in a new issue