From 46bfec299c12eb19b382f9872c9c302fdd9ea870 Mon Sep 17 00:00:00 2001 From: MiepHD <63968466+MiepHD@users.noreply.github.com> Date: Tue, 22 Nov 2022 17:56:23 +0100 Subject: [PATCH] Centered toggle --- plugins/video-toggle/button-switcher.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/video-toggle/button-switcher.css b/plugins/video-toggle/button-switcher.css index 626d3bd1..7d3de097 100644 --- a/plugins/video-toggle/button-switcher.css +++ b/plugins/video-toggle/button-switcher.css @@ -2,6 +2,10 @@ align-items: unset !important; } +#main-panel { + position: relative; +} + .video-switch-button { z-index: 999; box-sizing: border-box; @@ -18,6 +22,7 @@ color: #fff; padding-right: 120px; position: absolute; + left: calc(50% - 120px); } .video-switch-button:before {