Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/components/HeaderMenu.vue')
-rw-r--r--core/src/components/HeaderMenu.vue14
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);
}