]> git.openstreetmap.org Git - rails.git/commit
Refactor to use a heading class for height when using header-illustrations
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 21 Jul 2021 10:45:37 +0000 (11:45 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 21 Jul 2021 10:45:37 +0000 (11:45 +0100)
commit2443e7dd650a3d3aaae9ab14d14d2fde6a582755
tree1eb3fe5345a0bea9b4413cc9cecdc0b3e5be41d0
parentb7bedff1ce7eef88dea13322d305dc7fab12e96b
Refactor to use a heading class for height when using header-illustrations

This fixes a glitch highlighted in #3259, where the css class stopped applying
when the view was moved to a different controller.

We're moving to having each view responsible for their layout, and commonly having
override classes explicitly in the relevant views. So we can follow that pattern here.
app/assets/stylesheets/common.scss
app/views/confirmations/confirm.html.erb
app/views/users/blocked.html.erb
app/views/users/new.html.erb
app/views/users/terms.html.erb