From 8bd5525368beebd0586c14094748b9e03c4a19ed Mon Sep 17 00:00:00 2001 From: Pier107 <34713013+PiervitoCreanza@users.noreply.github.com> Date: Sun, 28 Jan 2024 10:41:54 +0100 Subject: [PATCH] fix: `ScrollAreaThumb` width in horizontal orientation (#309) --- apps/www/src/lib/registry/default/ui/scroll-area/ScrollBar.vue | 2 +- apps/www/src/lib/registry/new-york/ui/scroll-area/ScrollBar.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/www/src/lib/registry/default/ui/scroll-area/ScrollBar.vue b/apps/www/src/lib/registry/default/ui/scroll-area/ScrollBar.vue index 9ba2cb09..6171a593 100644 --- a/apps/www/src/lib/registry/default/ui/scroll-area/ScrollBar.vue +++ b/apps/www/src/lib/registry/default/ui/scroll-area/ScrollBar.vue @@ -15,7 +15,7 @@ const props = withDefaults(defineProps(), { orientation === 'vertical' && 'h-full w-2.5 border-l border-l-transparent p-[1px]', orientation === 'horizontal' - && 'h-2.5 border-t border-t-transparent p-[1px]', + && 'h-2.5 flex-col border-t border-t-transparent p-[1px]', $attrs.class ?? '')" > diff --git a/apps/www/src/lib/registry/new-york/ui/scroll-area/ScrollBar.vue b/apps/www/src/lib/registry/new-york/ui/scroll-area/ScrollBar.vue index 9ba2cb09..6171a593 100644 --- a/apps/www/src/lib/registry/new-york/ui/scroll-area/ScrollBar.vue +++ b/apps/www/src/lib/registry/new-york/ui/scroll-area/ScrollBar.vue @@ -15,7 +15,7 @@ const props = withDefaults(defineProps(), { orientation === 'vertical' && 'h-full w-2.5 border-l border-l-transparent p-[1px]', orientation === 'horizontal' - && 'h-2.5 border-t border-t-transparent p-[1px]', + && 'h-2.5 flex-col border-t border-t-transparent p-[1px]', $attrs.class ?? '')" >