Replies: 1 comment
-
Ok, I think <div class="container-xs">
<div id="display_photo" class="flex-shrink-0 mb-2 me-3">
<!--..--> solved it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey! Bootstrap is great!
I am using "Media + Object" layout from here.
So my image is inside
flex-shrink-0
and details/text insideflex-grow-1
.However
img-fluid
does not work (wider images don't shrink on small media).img-fluid
doesn't work:container
,container-fluid
orcontainer-md
does not make image responsive either:img-fluid
works, but it breaks the "Media + Object" idea (flex-shrink-0
doesn't work, narrow images leave a lot of blank space on the side on wider screens. )Is there a combination of BS classes that would make
img-fluid
work insideflex-shrink-0
?Beta Was this translation helpful? Give feedback.
All reactions