mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-25 05:47:20 +00:00
add min-width to childeren of horizontal stack (#1761)
See https://css-tricks.com/flexbox-truncated-text/
This commit is contained in:
parent
3bcd0ddc46
commit
2f6595bca7
@ -14,6 +14,7 @@ class HuiHorizontalStackCard extends PolymerElement {
|
|||||||
#root > * {
|
#root > * {
|
||||||
flex: 1 1 0;
|
flex: 1 1 0;
|
||||||
margin: 0 4px;
|
margin: 0 4px;
|
||||||
|
min-width: 0;
|
||||||
}
|
}
|
||||||
#root > *:first-child {
|
#root > *:first-child {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user