fix(#2198): prevent sidebar-only takeover at tablet widths (768px width) and zoom#2201
Merged
mrjones-plip merged 6 commits intomedic:mainfrom Apr 27, 2026
Merged
Conversation
mrjones-plip
requested changes
Apr 24, 2026
Contributor
mrjones-plip
left a comment
There was a problem hiding this comment.
thanks for the PR @gmarav05 !
While the PR was quick, please be more thorough in your testing:
- the nav bar is hidden, you can't access it
- there's a "system" theme selector in the upper left and it persists through out all responsive modes, introducing regressions. this shouldn't be shown until you click the hamburger menu
- speaking of which, the hamburger menu, search and other top icons are not in the mobile responsive mode
- I don't think we need any color change needed - can you explain why you added this?
- the media detection width of
1023.98pxseems suspicious - why did you choose this value?
while a relatively small PR, I suspect the final PR will be even smaller that fixes where two @media and non-@media CSS declarations don't quite overlap.
please try again
Contributor
Author
|
Thanks for the detailed review @mrjones-plip . You’re right, my CSS fix was too broad and caused regressions. Now i have made some updates:
|
Contributor
Author
mrjones-plip
approved these changes
Apr 27, 2026
Contributor
mrjones-plip
left a comment
There was a problem hiding this comment.
Thanks @gmarav05 !
Since the hide/show feature of navigation should never be visible at the 768p width, I've removed it from this PR since it's not needed
Contributor
Author
|
yeah sure @mrjones-plip, Thank you for making that change and for your feedback. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Prevent sidebar-only view at 768px
closes #2198
Description
This PR fixes a responsive layout issue where the left sidebar could take over the page around 768px width (especially with browser zoom), making main content hard to access.
What I changed
assets/css/custom.css..hextra-sidebar-container(max-width: 1023.98px).article) keepswidth: 100%andmin-width: 0.Result
At 768px, the layout no longer gets stuck in a sidebar-only state.
License
The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.