Make WordPress Core

Opened 3 years ago

Closed 2 years ago

Last modified 7 weeks ago

#60462 closed enhancement (duplicate)

Twenty Twenty: Cover template overflows browser bar on mobile

Reported by: twiddler Owned by:
Priority: normal Milestone:
Component: Bundled Theme Version:
Severity: trivial Keywords: has-patch needs-testing
Cc: Focuses: css

Description

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:

.screen-height {
   min-height: 100dvh;
}

Attachments (1)

60462.diff​ (1.2 KB ) - added by twiddler 3 years ago.

Download all attachments as: .zip

Change History (11)

This ticket was mentioned in ​PR #6062 on ​WordPress/wordpress-develop by ​twiddler.


3 years ago
#1

  • Keywords has-patch added

Hey there! :wave:

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:

.screen-height {
   min-height: 100dvh;
}

Trac ticket: https://core.trac.wordpress.org/ticket/60462

#2 @sabernhardt
3 years ago

  • Component Themes → Bundled Theme
  • Focuses css added; ui removed
  • Keywords changes-requested removed
  • Version trunk

#3 @karmatosed
3 years ago

  • Milestone Awaiting Review → Future Release

#4 @karmatosed
2 years ago

  • Keywords needs-testing added

It would be great to get some testing on this to ensure we discover if this is still an issue and if we want to progress.

#5 @poena
2 years ago

I am able to reproduce the issue on using the WordPress Playground. The arrow is not visible.

But I have not been able to test the PR. I am trying to test it from my mobile using WordPress Playground, since I can not reproduce the issue locally using the browser tools.
I am not sure if there is a problem because the tests failed, or if there is a problem with Playground itself.

#6 follow-up: @sabernhardt
2 years ago

Is this the same issue as #48837?

#7 in reply to: ↑ 6 @twiddler
2 years ago

Replying to sabernhardt:

Is this the same issue as #48837?

I think so, yes.

#8 @sabernhardt
2 years ago

  • Milestone Future Release

Thanks! I'll close this as a duplicate and the discussion can continue on the other ticket.

#9 @sabernhardt
2 years ago

  • Resolution → duplicate
  • Status new → closed

Duplicate of #48837.

​@sawf1y commented on ​PR #6062:


7 weeks ago
#10

I guess this PR might have gotten lost. It is corresponds to Trac Ticket 48837

Note: See TracTickets for help on using tickets.