#38950 closed defect (bug) (fixed)
Twenty Seventeen: 1px of header video is visible at bottom of page
Reported by: | celloexpressions | Owned by: | joemcgill |
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | minor | Version: | 4.7 |
Component: | Bundled Theme | Keywords: | has-screenshots has-patch needs-testing commit dev-reviewed |
Focuses: | Cc: |
Description
There is a 1px gap at the bottom of the front page where the header video is visible. I couldn't find exactly where it's coming from quickly, but likely a minor CSS issue.
Attachments (2)
Change History (11)
#1
@
8 years ago
- Keywords has-patch needs-testing added; needs-patch removed
- Milestone changed from Awaiting Review to 4.7
- Owner set to joemcgill
- Status changed from new to accepted
I think this might be a browser rounding issue due to using relative sizes for line-heights and margins within the Twenty Seventeen theme. This can result in the outer #page
container calculated to a non-integer height—leaving a little overlap where the fixed height video sticks out at the bottom. Adding 1px of padding to the bottom of the header, seems to clear this up.
#2
@
8 years ago
38950.diff Adds 1px to the bottom of the custom header in Twenty Seventeen as outlined above.
This ticket was mentioned in Slack in #core-themes by davidakennedy. View the logs.
8 years ago
This ticket was mentioned in Slack in #core-themes by joemcgill. View the logs.
8 years ago
#5
@
8 years ago
- Keywords commit added
@joemcgill I'm good with the approach in 38950.diff. I'd say this is good to go.
Visible gap zoomed in on Chrome/Windows 10.