esmero / archipelago_subtheme

Bare bone Archipelago Bootstrap4 Theme
0 stars 5 forks source link

Bootstrap 4.5.1> breaks JS based innerWidth on fluid #32

Open DiegoPino opened 2 years ago

DiegoPino commented 2 years ago

What?

Sounds like he is lying! Nope. So Bootstrap theme removed an important feature from .col class min-width:0; Without this Browser can NOT calculate the actual innerWidth of a dynamically calculate Column (.col class) and will always return the MAX width of the screen breaking e.g our Canvas Resize.

Solution, instead of trying to be smarter than Bootstrap is to fix this only for our content ID and classes like this

/ Bootstrap 4.5.1+ removed this making JS innerWidth unexpected when resizing a Canvas /

content.col {

min-width:0; }