diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-03-04 15:22:49 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-03-04 15:22:49 +0100 |
commit | 7f712ae466e88b1890c8f1a87c2b98b9549f0f9e (patch) | |
tree | 8459b00e155a6545b9ea6b2a34efc80aba972875 | |
parent | 262ce3f19d481f05a79ef9d501bf9c6d265d5044 (diff) | |
download | nextcloud-server-7f712ae466e88b1890c8f1a87c2b98b9549f0f9e.tar.gz nextcloud-server-7f712ae466e88b1890c8f1a87c2b98b9549f0f9e.zip |
Fixed centering of the nav/picker popup
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r-- | core/css/header.scss | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/css/header.scss b/core/css/header.scss index e7c0f7252c9..3273d2d8372 100644 --- a/core/css/header.scss +++ b/core/css/header.scss @@ -222,17 +222,17 @@ } /* NAVIGATION --------------------------------------------------------------- */ -nav { +nav[role='navigation'] { display: inline-block; width: 44px; height: 44px; margin-left: -44px; - position: relative; } .header-left #navigation { position: relative; - left: -100%; + left: 22px; /* half the togglemenu */ + transform: translateX(-50%); width: 160px; } @@ -243,7 +243,7 @@ nav { filter: drop-shadow(0 1px 10px $color-box-shadow); &:after { /* position of dropdown arrow */ - left: 47%; + left: 50%; bottom: 100%; border: solid transparent; content: ' '; @@ -253,8 +253,8 @@ nav { pointer-events: none; border-color: rgba(0, 0, 0, 0); border-bottom-color: $color-main-background; - border-width: 9px; - margin-left: -9px; + border-width: 10px; + margin-left: -10px; /* border width */ } } |