Skip to content

Commit

Permalink
πŸ› Fix amp-story-player panel next/prev button in Chrome (ampproject#4…
Browse files Browse the repository at this point in the history
…0124)

* Fix amp-story-player panel next/prev button in Chrome

* Change ancestor selector to child selector
  • Loading branch information
ychsieh authored Oct 25, 2024
1 parent 1a94596 commit f58f797
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions css/amp-story-player-shadow.css
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@

.i-amphtml-story-player-full-bleed-story .i-amphtml-story-player-panel-prev,
.i-amphtml-story-player-full-bleed-story .i-amphtml-story-player-panel-next,
:not(.i-amphtml-story-player-panel) .i-amphtml-story-player-panel-prev,
:not(.i-amphtml-story-player-panel) .i-amphtml-story-player-panel-next {
:not(.i-amphtml-story-player-panel) > .i-amphtml-story-player-panel-prev,
:not(.i-amphtml-story-player-panel) > .i-amphtml-story-player-panel-next {
opacity: 0;
pointer-events: none;
}
Expand Down

0 comments on commit f58f797

Please sign in to comment.