mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 18:21:40 -04:00
Fix position of search bar
Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
parent
3c7f6429b3
commit
25a49143a4
3 changed files with 12 additions and 6 deletions
2
core/js/dist/unified-search.js
vendored
2
core/js/dist/unified-search.js
vendored
File diff suppressed because one or more lines are too long
2
core/js/dist/unified-search.js.map
vendored
2
core/js/dist/unified-search.js.map
vendored
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…
Reference in a new issue