WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#38638 closed defect (bug) (duplicate)

Overflow not hidden - allows right scrolling on header in Firefox

Reported by: cbgraphics Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords:
Focuses: Cc:

Description

When you scroll right while holding the cursor over the custom header it allows you to scroll right, past the content.

Suggested Fix
This can be fixed by adding:

overflow-x:hidden;

to the html element or primary container.

Attachments (2)

Screen Shot 2016-11-02 at 6.37.54 PM.png (3.5 MB) - added by cbgraphics 5 years ago.
FYI. I applied left:0; to the site header to force it into the correct position.
38638.patch (3.7 KB) - added by lcrdd 5 years ago.
Added left: 0 as per cbgraphics suggestion

Change History (4)

@cbgraphics
5 years ago

FYI. I applied left:0; to the site header to force it into the correct position.

@lcrdd
5 years ago

Added left: 0 as per cbgraphics suggestion

#1 @lcrdd
5 years ago

Just realized this is the same issue as in 38543. I noticed that removing display: flex; also fixed it and wasn't sure why flexbox was in use here, but looks like from the other ticket that it was a leftover. Anyway, I just went to a class about contributing and was testing the waters here! May I mark as duplicate?

#2 @davidakennedy
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Thanks for the report @cbgraphics!

Thanks @lcrdd! Welcome! You can mark tickets as duplicates – I've done that here. :)

This issue is being worked on in #38543. Feel free to take a look at other bundled theme tickets if you want to dive in: https://core.trac.wordpress.org/component/Bundled+Theme

You can always ask questions on Slack in #core-themes too.

Note: See TracTickets for help on using tickets.