Fix position of search bar

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
pull/28672/head
Carl Schwan 3 years ago committed by nextcloud-command
parent 3c7f6429b3
commit 25a49143a4

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -154,6 +154,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;
@ -175,10 +181,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);
@ -189,7 +195,7 @@ export default {
&__carret {
position: absolute;
right: 165px;
right: 128px;
bottom: 100%;
width: 0;
height: 0;
@ -202,7 +208,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);
}

Loading…
Cancel
Save