WordPress / wporg-main-2022

A block-based child theme for WordPress.org, plus local environment
62 stars 22 forks source link

Blocks page: Remove CSS that hides 2nd column on mobile. #440

Closed jasmussen closed 1 month ago

jasmussen commented 1 month ago

Related to https://github.com/WordPress/wporg-main-2022/pull/438#issuecomment-2109441092

On the mobile breakpoint, the illustration disappears:

Screenshot 2024-05-14 at 09 05 23

With the zero bottom margin, it looks a bit tight. There appears to be some custom CSS that hides this:

@media (max-width: 781px) {
    #intro .wp-block-column:last-child {
        display: none;
    }
}

If we can remove that, it would look like this, which works pretty well: Screenshot 2024-05-14 at 09 07 39

ryelle commented 1 month ago

That CSS is used on the homepage to prevent the brushstroke from wrapping. Instead, let's remove the intro ID on this section.