-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
text-break class is not working anymore from Bootstrap 4.4.1 to 4.5.0 #30803
Comments
Most investigation shows this works with |
Cross referencing some things...
/cc @MartijnCuppens |
By default, flex items won’t shrink below their minimum content size. Setting |
Oh yeah, didn't think about that at all. Do we ship this as a fix, or tell folks to use |
Adding the |
@MartijnCuppens You okay then with shipping an update to bring back |
Same issue here (MacOS / Google Chrome 81.0.4044.138 / Bootstrap 4.5) min-width:0 fix the problem for now |
@mdo @MartijnCuppens Be careful, as I said in this issue @nicolomonili Thanks, see the anwser about the minimum content size behavior on flex items. |
The problem is also present with tables / td, but in this case the problem persists even adding Ok with 4.4 https://getbootstrap.com/docs/4.4/content/tables/#responsive-tables Not ok with 4.5 https://getbootstrap.com/docs/4.5/content/tables/#responsive-tables |
In this case |
Looking at this Codepen I made a couple weeks ago again, it seems like a browser bug or unintentional behavior that |
#1032) * File field Bootstrap4: avoids long file names overflowing outside the label * Using h-auto to prevent vertical overflow, and text-break to prevent horizontal overflow * Fixing text-break. cf twbs/bootstrap#30803 * Using text-truncate to prevent long file name overflow * refactor test to follow field_file.html evolution * compliance with Black * fixing regression, checkbox must float right partial rollback of 8aaed1b Co-authored-by: Bryan Brancotte <bryan.brancotte@pasteur.fr>
@mdo @XhmikosR This fix was backported to v4 with without keeping There's no issue in v5:
But in v4 we have
So |
Unfortunately In modern browsers To fix it we need to define a width for the container. |
The workaround I have found for this is to put back the
word-break: break-word
in the text-break class, like it was in the previous versions;The text was updated successfully, but these errors were encountered: