X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/424316b41c155af251597ce4993accd819fe797a..ec73d70659686a51f5f4b6b737c9dea1daff8325:/app/assets/stylesheets/common.scss diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index d0524fcbc..c1728f870 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -131,10 +131,6 @@ header { font-size: 14px; } - nav.primary { - margin-right: auto; - } - .username { max-width: 12em; } @@ -174,7 +170,11 @@ nav.primary { nav.secondary { .nav-link { - padding: 0.3rem; + padding: 0 0.3rem; + } + + > ul { + height: 1.5em; } } @@ -231,6 +231,11 @@ body.small-nav { nav.secondary { flex-direction: column; + > ul { + height: auto; + justify-content: center; + } + .user-menu, .login-menu { width: 100%; }