Bootstrap
Hello,
There is an issue with the div number 3, where it skips a line (at width = 1263 pixels and below to be exact) eventho it's not supposed to, unless the screen is very small.
Am i missing something?
Thank you in advance.
--------------
10 Replies
it has to do with the content and the default padding of the col. a flex item can only shrink as small as the content+padding. that 3rd column just doesnt fit anymore and so it flex-wraps (which is also default in bootstrap row).
I am no bootstrap user, so I don't have a clear solution in mind. but you could try overriding the flex-wrap
@MarkBoots ure correct!
flex-wrap: nowrap; worked almost perfectly.
here is the new result:
it goes to the next div which is not practical, but at least it answers my question
thank you for ur help!
with p-0 on the cols it will probably fit
not quite :c
also its weird how i have to add p-0 to each div, even tho i already declared that with *{padding:0}
yea you are just trying to fit so much inside that containers.
Also don’t use Bootstrap, it’s unnecessary and dated and you end up having questions like this rather than understanding how things work and having a more flexible solution you know about
Boostraps still better than blindly using Tailwind >.>;; (just saying I see this a lot more)
They’re both awful