From f58f7970756eb0b0f4c0281f278b71d9cd97ad07 Mon Sep 17 00:00:00 2001 From: Ya-Chen Hsieh <1697814+ychsieh@users.noreply.github.com> Date: Fri, 25 Oct 2024 11:06:10 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20amp-story-player=20panel?= =?UTF-8?q?=20next/prev=20button=20in=20Chrome=20(#40124)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix amp-story-player panel next/prev button in Chrome * Change ancestor selector to child selector --- css/amp-story-player-shadow.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/css/amp-story-player-shadow.css b/css/amp-story-player-shadow.css index a6062b93e964..847628622b00 100644 --- a/css/amp-story-player-shadow.css +++ b/css/amp-story-player-shadow.css @@ -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; }