add min-width to childeren of horizontal stack (#1761)

See https://css-tricks.com/flexbox-truncated-text/
This commit is contained in:
Bram Kragten 2018-10-13 16:02:47 +02:00 committed by Paulus Schoutsen
parent 3bcd0ddc46
commit 2f6595bca7

View File

@ -14,6 +14,7 @@ class HuiHorizontalStackCard extends PolymerElement {
#root > * {
flex: 1 1 0;
margin: 0 4px;
min-width: 0;
}
#root > *:first-child {
margin-left: 0;