refactor: simplify sidebarlayout and removed nested divs
There were a lot of extra divs leading to some layout wonkiness at different screen sizes.
Before
After
Deploying rescript-lang-org with
Cloudflare Pages
| Latest commit: |
af23177
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://634efa5f.rescript-lang.pages.dev |
| Branch Preview URL: | https://vlk-fix-sidebarlayout-overfl.rescript-lang.pages.dev |
Hmmm, is the smaller left padding deliberate?
Hmmm, is the smaller left padding deliberate?
Nope, I have a few things to cleanup.
Hmmm, is the smaller left padding deliberate?
Fixed.
Ah so you wanted to put the sidebar actually on the side now? Regardless, the content ist left-aligned as well now, not sure that is an improvement.
Ah so you wanted to put the sidebar actually on the side now? Regardless, the content ist left-aligned as well now, not sure that is an improvement.
Moving it to the side wasn't intended. I was simplifying some of the divs to address content overflowing at different break points. It shouldn't look too different from prod right now.
Almost! Text needs some padding on the left.
![]()
Almost! Text needs some padding on the left.
Done! I also made some padding tweaks for smaller screens to remove some of the extra whitespace on tablets and large phones.
I now have this weird glitch