Skip to content

Adjust breakpoints to prevent navigation wrapping#41892

Merged
mrdarrengriffin merged 3 commits into
currentfrom
navbar-fix
Nov 21, 2025
Merged

Adjust breakpoints to prevent navigation wrapping#41892
mrdarrengriffin merged 3 commits into
currentfrom
navbar-fix

Conversation

@mrdarrengriffin
Copy link
Copy Markdown
Contributor

Proposed change

TSIA

Type of change

  • Spelling, grammar or other readability improvements (current branch).
  • Adjusted missing or incorrect information in the current documentation (current branch).
  • Added documentation for a new integration I'm adding to Home Assistant (next branch).
  • Added documentation for a new feature I'm adding to Home Assistant (next branch).
  • Removed stale or deprecated documentation.

Additional information

  • Link to parent pull request in the codebase:
  • Link to parent pull request in the Brands repository:
  • This PR fixes or closes issue: fixes #

Checklist

  • This PR uses the correct branch, based on one of the following:
    • I made a change to the existing documentation and used the current branch.
    • I made a change that is related to an upcoming version of Home Assistant and used the next branch.
  • The documentation follows the Home Assistant documentation standards.

Copilot AI review requested due to automatic review settings November 21, 2025 00:31
@home-assistant home-assistant Bot added the current This PR goes into the current branch label Nov 21, 2025
@netlify
Copy link
Copy Markdown

netlify Bot commented Nov 21, 2025

Deploy Preview for home-assistant-docs ready!

Name Link
🔨 Latest commit 5d08015
🔍 Latest deploy log https://app.netlify.com/projects/home-assistant-docs/deploys/691fb3b42d636c00081d0421
😎 Deploy Preview https://deploy-preview-41892--home-assistant-docs.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.

@mrdarrengriffin mrdarrengriffin enabled auto-merge (squash) November 21, 2025 00:31
balloob
balloob previously approved these changes Nov 21, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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-start value of 1140px.
@media only screen and (min-width: 1025px) {

Comment thread source/voice-pe/styles.css Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@c0ffeeca7 c0ffeeca7 left a comment

Choose a reason for hiding this comment

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

Thank you, @mrdarrengriffin 👍

@mrdarrengriffin mrdarrengriffin merged commit 675de52 into current Nov 21, 2025
9 checks passed
@mrdarrengriffin mrdarrengriffin deleted the navbar-fix branch November 21, 2025 05:43
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

current This PR goes into the current branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants