Skip to content

Commit

Permalink
update @supports check disabling background-attachment: fix for iOS (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
DustyReagan authored Mar 30, 2023
1 parent 34a4e1d commit 6ad856d
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 @@ -203,7 +203,7 @@ video.wp-block-cover__video-background {
// 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

1 comment on commit 6ad856d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 6ad856d.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4566240776
📝 Reported issues:

Please sign in to comment.