<pre>
tag is not adapting the column width in bootstrap
#33640
Unanswered
thelovekesh
asked this question in
Q&A
Replies: 3 comments
-
Check it live here |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is somewhat expected. See https://stackoverflow.com/questions/36247140/why-dont-flex-items-shrink-past-content-size#answers-header |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @thelovekesh , |
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
-
I am using
Bootstrap 5
to style my page. When I am using the<pre>...</pre>
tag inside theclass="col"
then it is not adapting the width of the column instead of that it is increasing the width of the whole column. But when I am using theclass="col-lg-8"
it is working fine.HTML CODE
With
<pre>
tag andclass="col"
With
<pre>
tag andclass="col-lg-8"
Without
<pre>
tagBeta Was this translation helpful? Give feedback.
All reactions