Skip to content

Conversation

@hacksparrow
Copy link
Contributor

Fixes #1005.

BEFORE
before

AFTER
after

Fixed broken toolbar in some screen sizes.
Signed-off-by: Yaapa Hage <hage.yaapa@in.ibm.com>
@hacksparrow hacksparrow requested a review from dhmlau as a code owner August 24, 2020 16:46
@hacksparrow hacksparrow self-assigned this Aug 24, 2020
@raymondfeng
Copy link
Contributor

I'm curious what's behind 991px over 768px.

@hacksparrow
Copy link
Contributor Author

@raymondfeng The side menu is progammed to adjust for smaller screens (from 991px onwards) by jumping to the top of the page. The navigation bar also does similar adjustments, but from 768px onwards, instead of 991px - they are not in sync. This PR makes the navigation bar to start adjusting itself from 991px onwards.

I also explored the option of doing this adjustment from 768px, but the content of the navigation bar is too much to be contained within 768px, so 991px it is.

Copy link
Member

@dhmlau dhmlau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified on my laptop, and seems to be working.
Haven't got a chance to try it on the phone.

@hacksparrow
Copy link
Contributor Author

@dhmlau do you want to wait till confirming on the phone? It should just work.

@dhmlau
Copy link
Member

dhmlau commented Aug 26, 2020

If you've verified it on the phone, please feel free to land the PR. Thanks.

@hacksparrow hacksparrow merged commit f5e6319 into gh-pages Aug 26, 2020
@delete-merged-branch delete-merged-branch bot deleted the fix/responsive-toolbar branch August 26, 2020 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

loopback.io header not collapsed for mobile

4 participants