Skip to content

move each media query to it's own selector

  • move media-queries to it's own element
  • remove _gutenberg-responsive.scss

I know, at this point it might look more complicated but we will get to the point, where this approach is way more cleaner. Next step will be to move each element to it's own file.

As you mentioned in https://github.com/matejlatin/Gutenberg/issues/19#event-656982391 moving from Scss to pure CSS with CSS variables will clean up this issue :)

I'm flirting with the suggestion by @marcobiedermann to rewrite it independently from preprocessors in the future.

My changes should not change the output in any stylistic options. If everything suits your needs, feel free to merge this in and I continue to work on splitting things up into partials.

Merge request reports