diff --git a/src/setup/index.css b/src/setup/index.css index af81851d..c17b8258 100644 --- a/src/setup/index.css +++ b/src/setup/index.css @@ -178,4 +178,20 @@ input[type=range].styled-slider.slider-progress::-ms-fill-lower { background: var(--slider-progress-background); border: none; border-right-width: 0; +} + +::-webkit-scrollbar-track { + background-color: transparent; +} + +::-webkit-scrollbar-thumb { + background-color: theme("colors.denim-500"); + border: 5px solid transparent; + border-left: 0; + background-clip: content-box; +} + +::-webkit-scrollbar { + /* For some reason the styles don't get applied without the width */ + width: 13px; } \ No newline at end of file diff --git a/src/video/components/popouts/PopoutProviderAction.tsx b/src/video/components/popouts/PopoutProviderAction.tsx index 5882dc7f..a29a4e09 100644 --- a/src/video/components/popouts/PopoutProviderAction.tsx +++ b/src/video/components/popouts/PopoutProviderAction.tsx @@ -9,8 +9,6 @@ import { useVideoPlayerDescriptor } from "@/video/state/hooks"; import { useControls } from "@/video/state/logic/controls"; import { useInterface } from "@/video/state/logic/interface"; -import "./Popouts.css"; - function ShowPopout(props: { popoutId: string | null; onClose: () => void }) { const popoutMap = { settings: , diff --git a/src/video/components/popouts/Popouts.css b/src/video/components/popouts/Popouts.css deleted file mode 100644 index 5f8cfd89..00000000 --- a/src/video/components/popouts/Popouts.css +++ /dev/null @@ -1,15 +0,0 @@ -.popout-wrapper ::-webkit-scrollbar-track { - background-color: transparent; -} - -.popout-wrapper ::-webkit-scrollbar-thumb { - background-color: theme("colors.denim-500"); - border: 5px solid transparent; - border-left: 0; - background-clip: content-box; -} - -.popout-wrapper ::-webkit-scrollbar { - /* For some reason the styles don't get applied without the width */ - width: 13px; -} \ No newline at end of file