From 1b590e352c3e64ce3d3cf29da8de6870ecef313e Mon Sep 17 00:00:00 2001 From: the1812 Date: Sat, 20 May 2023 18:18:44 +0800 Subject: [PATCH] Fix width --- .../video/player/control-background/control-background.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/registry/lib/components/video/player/control-background/control-background.scss b/registry/lib/components/video/player/control-background/control-background.scss index 3a16db36b..d016e8d2e 100644 --- a/registry/lib/components/video/player/control-background/control-background.scss +++ b/registry/lib/components/video/player/control-background/control-background.scss @@ -27,9 +27,10 @@ &::before { content: ''; position: absolute; + left: 0; bottom: 0; height: calc(100% - 17px); - width: calc(100% - 24px); + width: 100%; background-color: rgba(0, 0, 0, var(--video-control-opacity)); z-index: -1; @include on-fullscreen {