]> git.openstreetmap.org Git - rails.git/commit
Combine small.scss into common.scss
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 14 Sep 2022 14:44:35 +0000 (15:44 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 14 Sep 2022 16:32:43 +0000 (17:32 +0100)
commit5ab682dbbdc0bc4034d1c93aae3d082dae09fa65
tree1a851074f1e68c8beb1d50c1ba2fbdaa7e5fa9e2
parent35392c1a2f25ced94150ac81cba1b7e517ce145b
Combine small.scss into common.scss

We've moved away from the idea of having extra rules for small screens,
and instead follow the bootstrap convention of designing for small
screens first and overriding those rules if needed for larger screens.

Having a separate file remaining for a limited number of small screen
rules is therefore counter-productive. Moving the remaining rules into
common.scss, adjacent to the related rules for larger screen, makes
the behaviour easier to understand, as well as making it easier to
refactor the rules to a small-screen-first approach.
app/assets/stylesheets/common.scss
app/assets/stylesheets/screen-ltr.css
app/assets/stylesheets/screen-rtl.css
app/assets/stylesheets/small.scss [deleted file]