From: Andy Allan Date: Wed, 23 Jun 2021 16:20:48 +0000 (+0100) Subject: Ensure that all floated elements in the header stay within it X-Git-Tag: live~2202^2~2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/7809bfa02753271a92c78c720c66826afb19bf11 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. --- diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index 06823e18f..fe5bf23c5 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -1,4 +1,4 @@ -
+