From 4b92c8e5554b5059758fda21a252972f174dae6e Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Fri, 6 Dec 2024 12:19:43 +0300 Subject: [PATCH] Let header username expand to screen width in small nav mode --- app/assets/stylesheets/common.scss | 4 ++++ app/views/layouts/_header.html.erb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 %>