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~526 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/a90302aecf579ca29fa5ea0b1e9d03f81b8bbde4?ds=inline;hp=-c Merge remote-tracking branch 'upstream/pull/4842' --- a90302aecf579ca29fa5ea0b1e9d03f81b8bbde4 diff --combined app/assets/stylesheets/common.scss index 1329d05f4,9be17a83a..edef1444b --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@@ -16,6 -16,8 +16,6 @@@ time[title] text-decoration: underline dotted; } -#container { position: relative; } - /* Rules for icons */ .icon { @@@ -112,6 -114,10 +112,10 @@@ header nav.primary { margin-right: auto; } + + .username { + max-width: 12em; + } } nav.primary { @@@ -485,6 -491,16 +489,6 @@@ body.small-nav .donate-attr { color: darken($green, 10%) !important; } -/* Rules for the sidebar */ - -#browse_status { - input { - display: block; - margin-left: auto; - margin-right: auto; - } -} - /* Temporary label size override until we remove site-wide font customisation */ form { @@@ -566,6 -582,10 +570,6 @@@ tr.turn .routing_marker { width: 15px; cursor: move; } -.browse_status { - display: none; -} - /* Rules for the history sidebar */ #sidebar .changesets { @@@ -619,6 -639,16 +623,6 @@@ } } -/* Bootstrap buttons don't have any vertical margin, so - they touch when adjacent buttons wrap onto a new line - e.g. wide form buttons on a narrow sidebar */ - -.btn-wrapper { - > .btn { - margin-bottom: $spacer * 0.25; - } -} - /* Force LTR/RTL alignment for placeholder text */ .form-control::placeholder { diff --combined app/views/layouts/_header.html.erb index 95b2c5537,fdabea7cd..77ef647a0 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@@ -81,12 -81,12 +81,12 @@@ <% if current_user && current_user.id %>