Skip to content

Commit

Permalink
Restore square preview images and Safari fix
Browse files Browse the repository at this point in the history
  • Loading branch information
obenland committed Feb 27, 2020
1 parent f804fe3 commit c034682
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,11 @@ body.admin-bar:not( .is-fullscreen-mode ) .page-template-modal-screen-overlay {
position: relative;
pointer-events: none;
opacity: 1;
transform: translateZ( 0 ); // Fix for Safari rounded border overflow (2/2).

@media screen and ( min-width: $breakpoint-mobile ) {
padding-top: 100%; // Aspect radio boxes. It will take the 100% of width.
}

&.is-rendering {
opacity: 0.5;
Expand Down

0 comments on commit c034682

Please sign in to comment.