-
Notifications
You must be signed in to change notification settings - Fork 88
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
make the sidebare full-width on small screens #2747
Conversation
Signed-off-by: szaimen <szaimen@e.mail.de>
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.
We need to hide the appnavigation toggle on the top left then, otherwise the tertiary actions of the sidebar become unusable.
See Tasks for example, the toggle overlays the complete checkbox:
I think in this case it's fine to have the toggle behind the sidebar. You need to close the sidebar to open the navigation, but that keeps the sidebar usable.
@raimund-schluessler I suppose this needs to be done in javascript since the css is scoped? |
Not necessarily, you can either use |
Reducing the But this might have side effects. The result would be that |
Or, one leaves this to the app developer to hide the toggle if the sidebar is open on small screens 🙈. Because from the nextcloud-vue components, we have no easy way to figure out whether the sidebar is open (visible) or not (but I would very well be missing something). |
Signed-off-by: szaimen <szaimen@e.mail.de>
What about cd98e1d @raimund-schluessler ? :) |
Nice, good idea. I didn't test it though. |
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.
Tested and works.
Close nextcloud/calendar#4161
Signed-off-by: szaimen szaimen@e.mail.de