From: Anton Khorev Date: Fri, 6 Dec 2024 09:19:43 +0000 (+0300) Subject: Let header username expand to screen width in small nav mode X-Git-Tag: live~11^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/4b92c8e5554b5059758fda21a252972f174dae6e Let header username expand to screen width in small nav mode --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index cf63c8f8c..668d050d8 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -217,6 +217,10 @@ body.small-nav { .search_forms { display: block; } + + .username { + max-width: unset; + } } #sidebar .search_forms { diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index ff95be2f5..190ea44e5 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -85,7 +85,7 @@ <% if current_user && current_user.id %>