Skip to content
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

Lighthouse UI Not Resizing Correctly #16343

Open
dvangonen opened this issue Feb 16, 2025 · 1 comment
Open

Lighthouse UI Not Resizing Correctly #16343

dvangonen opened this issue Feb 16, 2025 · 1 comment
Assignees

Comments

@dvangonen
Copy link

dvangonen commented Feb 16, 2025

Description

When resizing Lighthouse panel in Chrome DevTools, it does not adapt to the container size!

Image

Steps to Reproduce:

  1. Open Lighthouse in Chrome DevTools
  2. Resize the DevTools panel horizontally to about 450px
  3. Observe the broken layout

Expected Behavior:

The Lighthouse UI should be as reponsive as its standalone verison.

In the image below you can see the standalone version of the lighthouse, and each element is adapted correctly.

Image

Solution

The problem is that @media queries relay on the viewport, but not on the container itself.

Check this Pull Ruquest please

@adamraine
Copy link
Member

Yeah, I think we can use container queries or something for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants