Skip to content

Commit

Permalink
Cover: background-attachment fixed iOS bug handling to properly work …
Browse files Browse the repository at this point in the history
…with iOS 13 (#40087)
  • Loading branch information
tomasztunik authored Apr 26, 2022
1 parent 1abe799 commit fe7644c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/cover/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// Mobile Safari does not support fixed background attachment properly.
// See also https://stackoverflow.com/questions/24154666/background-size-cover-not-working-on-ios
// Chrome on Android does not appear to support the attachment at all: https://issuetracker.google.com/issues/36908439
@supports (-webkit-overflow-scrolling: touch) {
@supports (-webkit-touch-callout: inherit) {
background-attachment: scroll;
}

Expand Down

0 comments on commit fe7644c

Please sign in to comment.