-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Fix position of search bar #28660
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix position of search bar #28660
Conversation
|
@CarlSchwan Can you please show screenshot of this when the notifications app is enabled? |
d444241 to
2f45ac9
Compare
I didn't know you were already working on it :( I figured a hacky way to make it work: using a CSS detection that the notifications element is not empty we can push the carret a bit more to the left. Here is a screenshot with the notification stuff enabled |
szaimen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine by me unless anyone finds a better way (less hacky) e.g. like suggested here:
#28585 (comment)
| .notifications:not(:empty) ~ #unified-search { | ||
| order: -1; | ||
| .header-menu__carret { | ||
| right: 175px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure that this will work?
I think it will be overwritten by the value that you've defined below as css is cascading ;)
So this should be moved to the bottom of the file, imho.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works. Css is cascading but since the rule includes an id and is more specifics it is stronger :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧑⚖️ hum, this is not a great piece of maintainable code 🙈
#32702 (comment)
|
Hey @488849, thank you for reviewing this pull request. Approving once is enough. We take care of the rest 🤞 |
|
/backport to stable22 |
|
/backport to stable21 |
|
/backport to stable20 |
Pytal
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just slightly hacky 😂
|
/compile amend / |
2f45ac9 to
565cf69
Compare
|
Why are there suddenly conflicts after compiling? The compiled files didn't change in master since creating this branch, afaik. Could maybe this be the reason?
Cc @skjnldsv |
565cf69 to
c4c5bdd
Compare
|
/compile amend / |
I just rebased and let the compile bot generate the assets again, let see... |
Signed-off-by: Carl Schwan <[email protected]> Signed-off-by: nextcloud-command <[email protected]>
c4c5bdd to
4027bba
Compare
Seems to work now but still strange... |
|
ci seems stuck but also unrelated to this PR: |
|
/backport to stable21 |
|
/backport to stable20 |

Fix #28584
Close #28585
New:
Before:
Signed-off-by: Carl Schwan [email protected]