X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dffe0c91b9bcc714e8855df0ec041efdb9939034..9e807aeca0105497ced7e75bb434a88f41865204:/app/assets/stylesheets/common.scss diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 11f0a5fd3..d551462b2 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -412,9 +412,12 @@ body.small-nav { .layers-ui { .base-layers > * { - height: 56px; + height: 3.5rem; > .btn { + box-sizing: content-box; + top: - map.get($border-widths, 4); + left: - map.get($border-widths, 4); --bs-btn-border-color: var(--bs-body-bg); } > .btn:hover { @@ -677,7 +680,13 @@ tr.turn { padding: $lineheight; } -/* Overrides for pages that use new layout conventions */ +/* Rules for login and signup pages */ + +.sessions-new, .users-new, .users-create { + #content .content-inner { + max-width: 760px; + } +} .header-illustration { background-position: right; @@ -895,8 +904,10 @@ div.secondary-actions { } } -.auth-container { - max-width: 600px; +/* Rules for block pages */ + +#block_list .username { + max-width: 20em; } /* Rules for tabs inside secondary background sections */