Aleš Sýkora / August 3, 2023 / 0 comments

Solve .breakout-full class body overflow in Automatic.css

Post summary: If you use Automatic.CSS framework, you may encounter a known glitch when using .breakout–full class. It’s an issue with anything that is with 100vw. The overflow is caused by the vertical scrollbar on the edge of the page. It only shows an overflow to the user depending on their browser or operating system settings. It’s…

If you use Automatic.CSS framework, you may encounter a known glitch when using .breakout–full class. It’s an issue with anything that is with 100vw. The overflow is caused by the vertical scrollbar on the edge of the page. It only shows an overflow to the user depending on their browser or operating system settings. It’s a weird known CSS glitch. Currently – the way to fix it is with JavaScript or with CSS.

CSS Fix for sections with .breakout–full (recommended)

I prefer this solution to JavaScript. Just use this code in your custom stylesheet on the parent element of the sections:

I use this in Bricks:

main { 
    overflow: hidden; 
}

In Oxygen Builder this may work:

.ct-section:has(.breakout--full) {
    overflow: hidden;
}

Fuel my passion for writing with a beer🍺

Your support not only makes me drunk but also greatly motivates me to continue creating content that helps. Cheers to more discoveries and shared success. 🍻

0 comments

Share Your Thoughts