[wp-trac] [WordPress Trac] #60462: Twenty Twenty: Cover template overflows browser bar on mobile
WordPress Trac
noreply at wordpress.org
Wed Feb 7 14:36:50 UTC 2024
#60462: Twenty Twenty: Cover template overflows browser bar on mobile
-------------------------+-------------------------------
Reporter: twiddler | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: trunk
Severity: trivial | Keywords: changes-requested
Focuses: ui |
-------------------------+-------------------------------
Hey there!
Twenty Twenty's cover template fills the whole background with the article
image. This works as expected on desktop. On mobile however, some content
gets covered by the browser bar.
Replacing ''vh'' with ''dvh'' fixes that:
{{{#!css
.screen-height {
min-height: 100dvh;
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60462>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list