を(フレキシボックス)が動作しません。私は、テキストのオーバーフローのために省略記号を入れしようとしている:省略記号は
親:
.grid-row {
display: flex;
}
子:
.grid-cell {
display: flex;
flex-grow: 3;
flex-basis: 0;
align-items: center;
padding: 10px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.grid-cell:first-child {
flex-grow: 1;
justify-content: center;
}
そして、うまくoverflow
はhidden
ですしかし、省略記号はありません。
多くのフレックスボックス/省略記号の投稿。 [**これらの**](https://stackoverflow.com/search?q=user%3A3597276+%5Bflexbox%5D+ellipsis)の1つが助けてくれるかもしれません(そして重複します)。 –
HTMLがなければ問題は再現することはできません。 –