@noqta.css
min-width: auto هي القيمة الافتراضية لعناصر flex
لذلك لا ينكمش النص الطويل، ويخرج من الحاوية
الحل سطر واحد على العنصر: min-width: 0
عندها ينكمش العنصر، ويمكن قصّ النص بـ text-overflow: ellipsis
نص طويل داخل عنصر flex
0 likes
0 comments
12 views
Comments and likes are in the Bulum app.
More from @noqta.css