Replies: 1 comment 1 reply
-
What we see is the mobile view and you seem to be at 100% of it. No? Do you use a SSR framework to render react ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey all. Working on responsive design, React.
When I start to shrink the viewport in devtools, my content begins to not take up the full width of the screen. When I delete my bootstrap import, the problem goes away (need it for other styling though). My component code begins with a main tag with the container-fluid class. The effect is being applied as seen in devtools, my content takes up 100% of the main tag width, as well as 100% of the <div id="root> tag and body tag from index.html, however all three of these are stopping very short of the full width of the screen.
The body tag is being restricted by default bootstrap container settings, I think. My custom css is imported below bootstrap, ive tried setting body, html and root to 100% width, but nothing seems to work. Any ideas?
Edited by maintainer to insert the image in the original post
Beta Was this translation helpful? Give feedback.
All reactions