diff --git a/sites/docs/src/lib/registry/default/ui/scroll-area/scroll-area-scrollbar.svelte b/sites/docs/src/lib/registry/default/ui/scroll-area/scroll-area-scrollbar.svelte index 869932f60..b4360561e 100644 --- a/sites/docs/src/lib/registry/default/ui/scroll-area/scroll-area-scrollbar.svelte +++ b/sites/docs/src/lib/registry/default/ui/scroll-area/scroll-area-scrollbar.svelte @@ -16,8 +16,8 @@ {orientation} class={cn( "flex touch-none select-none transition-colors", - orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]", - orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]", + orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent p-px", + orientation === "horizontal" && "h-2.5 w-full border-t border-t-transparent p-px", className )} {...restProps} diff --git a/sites/docs/src/lib/registry/new-york/ui/scroll-area/scroll-area-scrollbar.svelte b/sites/docs/src/lib/registry/new-york/ui/scroll-area/scroll-area-scrollbar.svelte index b99640806..b4360561e 100644 --- a/sites/docs/src/lib/registry/new-york/ui/scroll-area/scroll-area-scrollbar.svelte +++ b/sites/docs/src/lib/registry/new-york/ui/scroll-area/scroll-area-scrollbar.svelte @@ -12,6 +12,7 @@ - + {@render children?.()}