Adjust breakpoints to prevent navigation wrapping#41892
Merged
Conversation
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
balloob
previously approved these changes
Nov 21, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adjusts responsive breakpoints from 1024px to 1140px to prevent navigation wrapping on medium-sized screens. The changes increase the threshold at which the mobile menu collapses, giving the full desktop navigation more room to display before switching to the mobile hamburger menu layout.
- Increased desktop breakpoint from 1024px to 1140px across SCSS and navigation files
- Commented out max-width constraint on voice-pe landing page header
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| sass/inuitcss/_defaults.scss | Updated $desk-start breakpoint variable from 1024px to 1140px |
| sass/homeassistant/base/_navigation.scss | Updated $menu-collapse breakpoint from 1024px to 1140px |
| source/voice-pe/styles.css | Commented out max-width constraint and updated related breakpoint handling |
Comments suppressed due to low confidence (1)
source/voice-pe/styles.css:25
- This media query uses 1025px (1024px + 1) as a breakpoint, but the related breakpoint has been changed to 1140px in other files. For consistency with the new breakpoint system, this should likely be updated to
(min-width: 1141px)to align with the new$desk-startvalue of 1140px.
@media only screen and (min-width: 1025px) {
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
c0ffeeca7
approved these changes
Nov 21, 2025
Contributor
c0ffeeca7
left a comment
There was a problem hiding this comment.
Thank you, @mrdarrengriffin 👍
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Proposed change
TSIA
Type of change
currentbranch).currentbranch).nextbranch).nextbranch).Additional information
Checklist
currentbranch.nextbranch.