-
Notifications
You must be signed in to change notification settings - Fork 903
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 left-nav height and padding #1661
Conversation
413eb0f
to
cff5757
Compare
@yann-soubeyrand - might you be available to review and or comment on this PR? Thanks. |
Sure, but I’m clearly not a CSS guru: I just fixed two small issues, which took me a lot of time due to my CSS skill! 😆 Anyway, this looks good to me and the visuals are convincing. |
Works as expected! |
cff5757
to
6652fd3
Compare
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.
LGTM.
Thanks all for your feedback. |
sidebar_search_disable
#1658max-height
and top-padding of thetd-sidebar-nav
depending on.Site.Params.ui.sidebar_search_disable
md
, the sidebar search is always shown, regardless of the value ofsidebar_search_disable
(
lg
,md
andsm
screens) x (each case of whethersidebar_search_disable
is true or not)sidebar_menu_foldable
set to truePossible followup change to be addressed:
Screenshots -
sidebar_search_disable:true
Notes:
lg
andmd
screenshots were taken with Firefoxsidebar_search_disable:true
View:
lg
- notice the full sidenav height in the "After" image, and the top padding fixThe "Before" image is from the current production server, but with the search-box manually hidden.
View:
md
- notice the full sidenav height in the "After" imageView:
sm
- no change here (other than a tweak to the bottom paddingScreenshots -
sidebar_search_disable:false
View:
lg
- notice the full sidenav height in the "After" imageView:
md
- notice the full sidenav height in the "After" imageView:
sm
- no change here (other than a tweak to the bottom padding