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

Banner layout problems in Firefox at certain zoom levels #549

Open
reupen opened this issue Dec 29, 2021 · 0 comments
Open

Banner layout problems in Firefox at certain zoom levels #549

reupen opened this issue Dec 29, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@reupen
Copy link

reupen commented Dec 29, 2021

Describe the bug

At certain zoom levels, the first banner on the home page and detail pages is squashed in Firefox.

For me (on a 4k screen) this happens by default but on more common configurations it typically requires zooming out to reproduce.

To Reproduce

  1. Go to https://coronavirus.data.gov.uk/ in Firefox
  2. Zoom out until the first banner becomes squashed
  3. Repeat for https://coronavirus.data.gov.uk/details/cases

Expected behaviour

The banner should not be squashed.

Screenshots

Home page:

image

Cases:

image

Desktop (please complete the following information):

  • OS: Windows 10 21H2
  • Browser: Firefox
  • Version: 95

Additional context

This is not a new problem. It has been present for some time.

Adding clear: left to the div containing the banners fixes it (probably as .govuk-header__logo is using float: left).

@reupen reupen added the bug Something isn't working label Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants