row > * css taking precedence instead of col-* css after upgrading to bootstrap 5 from 4. #41064
Replies: 2 comments
-
This is not Bootstrap problem. Bootstrap works. Your CSS is changed from the default Bootstrap CSS and it changes specificity which makes it a different CSS. Your case
So
Bootstrap
So
SolutionDo not change Bootstrap's CSS. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
After upgrading to bootstrap 5 from 4, I am facing an issue where col-* css is overridden by row > * css. Please check the screenshot attached.
Why is it over-ridding the css for col-md-4 and taking width 100%.
It was not the case with Bootstrap 4. What cna be the issue or solution for this?
Beta Was this translation helpful? Give feedback.
All reactions