From: Tom Hughes Date: Mon, 27 May 2024 14:11:16 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/pull/4842' X-Git-Tag: live~476 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/a90302aecf579ca29fa5ea0b1e9d03f81b8bbde4?hp=2c9043283ef933c94ba0dcd583b4d27ec6d1cc0a Merge remote-tracking branch 'upstream/pull/4842' --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 1329d05f4..edef1444b 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -112,6 +112,10 @@ header { nav.primary { margin-right: auto; } + + .username { + max-width: 12em; + } } nav.primary { diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index 95b2c5537..77ef647a0 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -81,12 +81,12 @@ <% if current_user && current_user.id %>