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

Backport #28603 by wxiaoguang

Fix #28489

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Giteabot 2023-12-24 22:44:03 +08:00 committed by GitHub
parent f2add36a29
commit 5b104a5533
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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) {