Skip to content

DOCOPS-184 Use rem for media queries to set break points - #380

Merged
recrwplay merged 3 commits into
masterfrom
break-points-rem
Aug 21, 2026
Merged

DOCOPS-184 Use rem for media queries to set break points#380
recrwplay merged 3 commits into
masterfrom
break-points-rem

Conversation

@recrwplay

Copy link
Copy Markdown
Collaborator

We use break points to show or hide navigation, for example, and depending on user settings it is possible for navigation to be displayed instead of hidden at specific page widths.

We use media queries in the css to set the break points.

User settings such as browser zoom or OS display settings can affect the width at which break points actually occur, resulting in the page not be displayed correctly. For example, navigation being displayed when we want it to be hidden, by using a media query.

The fix is to replace px with rem values in media queries so break points always trigger at the correct page width, regardless of user settings.

@netlify

netlify Bot commented Aug 21, 2026

Copy link
Copy Markdown

Deploy Preview for neo4j-docs-ui ready!

Name Link
🔨 Latest commit 638eeae
🔍 Latest deploy log https://app.netlify.com/projects/neo4j-docs-ui/deploys/6a8823b66327930008503b56
😎 Deploy Preview https://deploy-preview-380--neo4j-docs-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@recrwplay
recrwplay merged commit bd3db0b into master Aug 21, 2026
8 checks passed
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.

1 participant