Fix flex container width (#28603) (#28605)

Backport #28603 by wxiaoguang

Fix #28489

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit 5b104a55331a5774140a7d35ab363a59a8aec9c8)
This commit is contained in:
Giteabot 2023-12-24 22:44:03 +08:00 committed by Earl Warren
parent 75ad9ac50b
commit c39e9cd9a9
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -11,6 +11,7 @@
.flex-container-main { .flex-container-main {
flex: 1; flex: 1;
min-width: 0; /* make the "text truncate" work, otherwise the flex axis is not limited and the text just overflows */
} }
@media (max-width: 767.98px) { @media (max-width: 767.98px) {