diff options
author | Carl Schwan <carl@carlschwan.eu> | 2021-08-31 13:18:34 +0200 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2021-08-31 15:12:55 +0000 |
commit | 4027bba2029ca585d4f70bbd204e350900bfffb0 (patch) | |
tree | 3074261cdb63cbbd4108a7a140816e4cf3f6db67 /core/src | |
parent | 4411822b0ef64eb0d7a48a30fc1be82070887b3f (diff) | |
download | nextcloud-server-4027bba2029ca585d4f70bbd204e350900bfffb0.tar.gz nextcloud-server-4027bba2029ca585d4f70bbd204e350900bfffb0.zip |
Fix position of search bar
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/components/HeaderMenu.vue | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/core/src/components/HeaderMenu.vue b/core/src/components/HeaderMenu.vue index 44d9c6d1a1e..0bf6dbfc510 100644 --- a/core/src/components/HeaderMenu.vue +++ b/core/src/components/HeaderMenu.vue @@ -163,6 +163,12 @@ export default { </script> <style lang="scss" scoped> +.notifications:not(:empty) ~ #unified-search { + order: -1; + .header-menu__carret { + right: 175px; + } +} .header-menu { &__trigger { display: flex; @@ -184,10 +190,10 @@ export default { } &__wrapper { - position: absolute; + position: fixed; z-index: 2000; top: 50px; - right: -150px; + right: 0; box-sizing: border-box; margin: 0; border-radius: 0 0 var(--border-radius) var(--border-radius); @@ -198,7 +204,7 @@ export default { &__carret { position: absolute; - right: 165px; + right: 128px; bottom: 100%; width: 0; height: 0; @@ -211,7 +217,7 @@ export default { &__content { overflow: auto; width: 350px; - max-width: 350px; + max-width: 100vw; min-height: calc(44px * 1.5); max-height: calc(100vh - 50px * 2); } |