]> git.openstreetmap.org Git - rails.git/commit
Ensure that all floated elements in the header stay within it
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 23 Jun 2021 16:20:48 +0000 (17:20 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 23 Jun 2021 19:11:19 +0000 (20:11 +0100)
commit7809bfa02753271a92c78c720c66826afb19bf11
tree6b2f25bf1713264016f3fcf5b25e869f30930c4e
parente9a3c55e83b515a573754adebbdf1082badaebc4
Ensure that all floated elements in the header stay within it

In certain circumstance, due to either extreme narrow screen widths,
or due to padding on floating elements exceeding the header height,
some things could appear outwith the header. This clearfix avoids
this from happening.
app/views/layouts/_header.html.erb