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
Responsive drawer div needs to be slightly deeper #7019
Comments
I tried it with Firefox 45.3 and I only see the scrollbar when the dropdown is higher than 480px (which is exactly what I expected from the code) but that doesn't happen on my pod because I didn't add the “My aspects” link like @Flaburgan did on diaspora-fr. @AugierLe42e changed the max-height in #6325 from 340px to 480px so now you'll need at least 50px (for the header) + 480px (for the dropdown) = 530px height on your device to display the dropdown without any problems. If the window/your device is not that high the rest of the header will be cut off which is basically something Bootstrap does. Will this be a problem for some devices? Should we go back to 340px? @AugierLe42e what was the reason here to increase the height? |
AFAIR, it was to let the menu be entirely displayed so that there's no need to scroll to reach the last items. |
This was viewed on my laptop with a narrow browser window, so testing the responsive 'desktop' version rather than the discrete 'mobile' version. The window is higher than 530px - 668px in this screenshot (I cropped out the bottom bit before as I had taken the screenshot to use to illustrate the drawer in the tutorials). I'm not sure what the best solution is - set |
The risk is to permanently make some menu items unavailable on small devices. If the menu's height is higher than the device's screen, the user won't be able to scroll down to the last items. |
You will see a scroll bar depending on the max-height. The dropdown won't be higher than the max-height and if it needs more space then you'll see the scrollbar. Increasing the max-height would mean that parts of the dropdown won't be visible on smaller screens at all. Let's say your window has a height of 500px. The header has a height of 50px and we currently allow the dropdown to have a height of 480px. This means that header and scrollbar together may be higher than your window and 30px of the dropdown will be missing on your device and you won't be able to see them since there is no scrollbar. |
How reliable is |
I tend to go back to the Bootstrap default and have a scrollbar there if the dropdown is too high. |
If the notification and conversation icons are kept, our problem is mostly solved. Why have they been removed? |
@Flaburgan Because it didn't work on small screens. (First screenshot in #7013) |
Could we display an asterisk instead of the pod name on small screens? (like on the current mobile interface) |
#7013 removed the notifications and conversations icons from the header bar and replaced them with items in the drawer menu.
The drawer is now cut off at the bottom, with a scroll bar. I tested this on two browsers: on Firefox 47.0.1, the scroll bar appears only when the user menu has also been opened; on Opera 36.0, the scroll bar appears whether the user menu is closed or open.
One for @svbergerem perhaps?
The text was updated successfully, but these errors were encountered: