card buttons should truncate if there isn't enough space (#7290)
This commit is contained in:
parent
c0780434f8
commit
9510f3d737
|
@ -20,13 +20,17 @@ $avatar_width: 120px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
button {
|
max-width: 100%;
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
li {
|
li {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
& + li {
|
min-width: 0;
|
||||||
margin-left: 0.5em;
|
&:nth-child(2) {
|
||||||
|
border-left: 0.5em solid transparent;
|
||||||
|
}
|
||||||
|
button {
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue