[wp-trac] [WordPress Trac] #50026: Twenty Twenty: Full height with short content

WordPress Trac noreply at wordpress.org
Mon May 20 16:36:00 UTC 2024


#50026: Twenty Twenty: Full height with short content
-------------------------------------------------+-------------------------
 Reporter:  beaucollins                          |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  6.6
Component:  Bundled Theme                        |     Version:
 Severity:  trivial                              |  Resolution:
 Keywords:  has-screenshots needs-testing        |     Focuses:  css
  needs-refresh                                  |
-------------------------------------------------+-------------------------

Comment (by sabernhardt):

 Twenty Twenty has a `screen-height` class to
 [https://core.trac.wordpress.org/browser/trunk/src/wp-
 content/themes/twentytwenty/style.css?rev=57886&marks=968-981#L968 make an
 element full-height] in the Cover template. The styles for both of these
 could work together.

 However, note that the `min-height` of `100vh` can make those elements too
 tall on mobile screens (#48837), and
 [https://stackoverflow.com/questions/52848856/100vh-height-when-address-
 bar-is-shown-chrome-mobile switching to `height: 100%`] could be too short
 on desktop screens.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50026#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list