[wp-trac] [WordPress Trac] #40152: Crop Image button off-screen on mobile

WordPress Trac noreply at wordpress.org
Tue Feb 11 16:30:26 UTC 2020


#40152: Crop Image button off-screen on mobile
-------------------------------------------------+-------------------------
 Reporter:  Cybr                                 |       Owner:  swissspidy
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  4.7.4
Component:  Media                                |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-screenshots fixed-     |     Focuses:  ui,
  major                                          |  administration
-------------------------------------------------+-------------------------

Comment (by afercia):

 In [changeset:"47266" 47266]:
 {{{
 #!CommitTicketReference repository="" revision="47266"
 Media: Fix bottom spacing on various Media Modal elements for non-webkit
 browsers.

 Implementation of bottom padding in overflow content differs across
 browsers. See https://github.com/w3c/csswg-drafts/issues/129. To make
 bottom spacing consistent across browsers there's the need for an
 alternate CSS method.
 - uses a CSS `after` pseudo element or simply a bottom margin to reserve
 some bottom spacing
 - removes a couple leftovers from [40428]
 - fixes an annoying visual glitch where the media modal content is visible
 behind the bottom toolbar border

 Props sabernhardt, afercia.
 See #40152.
 Fixes #48378.
 }}}

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


More information about the wp-trac mailing list