Skip to content

An open-source, self-hosted system for apps built with web technologies.

Use Appearance scrollbars throughout Desktop

zohayrslileh3dde5285d02d
diff --git a/source/client/view/appearance/appearance.css b/source/client/view/appearance/appearance.css
index 235bdaa..956289d 100644
--- a/source/client/view/appearance/appearance.css
+++ b/source/client/view/appearance/appearance.css
@@ -38,26 +38,3 @@
--shadow-window-content: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}
-
-[data-start-menu-scroll] {
-
- scrollbar-color: color-mix(in oklch, currentColor 28%, transparent) transparent;
-
- scrollbar-width: thin;
-}
-
-[data-start-menu-scroll]::-webkit-scrollbar {
-
- width: 0.5rem;
-}
-
-[data-start-menu-scroll]::-webkit-scrollbar-thumb {
-
- background: color-mix(in oklch, currentColor 28%, transparent);
-
- background-clip: padding-box;
-
- border: 0.125rem solid transparent;
-
- border-radius: 999px;
-}
diff --git a/source/client/view/structure/desktop/taskbar/launcher/programs-section.tsx b/source/client/view/structure/desktop/taskbar/launcher/programs-section.tsx
index 77802ed..cd58bb6 100644
--- a/source/client/view/structure/desktop/taskbar/launcher/programs-section.tsx
+++ b/source/client/view/structure/desktop/taskbar/launcher/programs-section.tsx
@@ -18,7 +18,7 @@ export default function ProgramsSection({ onChoose }: ProgramsSectionProps) {
const programs = usePrograms()
- return <div data-start-menu-scroll role="group" aria-label="Programs" className="grid min-h-0 max-h-full gap-1 overflow-y-auto p-2 scrollbar-gutter-stable">
+ return <div role="group" aria-label="Programs" className="grid min-h-0 max-h-full gap-1 overflow-y-auto p-2">
{programs.length
diff --git a/source/client/view/structure/desktop/taskbar/programs/overflow-row.tsx b/source/client/view/structure/desktop/taskbar/programs/overflow-row.tsx
index cbc2cf0..8930105 100644
--- a/source/client/view/structure/desktop/taskbar/programs/overflow-row.tsx
+++ b/source/client/view/structure/desktop/taskbar/programs/overflow-row.tsx
@@ -83,7 +83,7 @@ export default function OverflowRow({ children, backwardLabel = "Scroll backward
{edges.overflowing && <ScrollButton label={backwardLabel} controls={viewportId} direction="backward" disabled={edges.start} reducedMotion={reducedMotion} onClick={() => scroll(-1)} />}
- <div id={viewportId} ref={viewport} className="-m-2 min-w-0 flex-1 overflow-x-auto p-2 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden">
+ <div id={viewportId} ref={viewport} className="-m-2 min-w-0 flex-1 overflow-x-auto p-2">
<div ref={content} className="flex w-max min-w-full items-center gap-1.5">