diff --git a/packages/ui-components/src/components/layout/Disclosure.vue b/packages/ui-components/src/components/layout/Disclosure.vue index 90d941b77..722e4fa1d 100644 --- a/packages/ui-components/src/components/layout/Disclosure.vue +++ b/packages/ui-components/src/components/layout/Disclosure.vue @@ -2,9 +2,11 @@
-
+
- {{ title }} + + {{ title }} + { 'items-center', 'transition', 'group/disclosure', + buttonTextClasses.value ] @@ -120,6 +123,7 @@ const buttonClasses = computed(() => { 'justify-normal', 'pl-1', 'pr-0.5', + 'rounded-md', 'hover:bg-highlight-1', 'ring-none' @@ -186,7 +190,7 @@ const panelClasses = computed(() => { }) const chevronClasses = computed(() => { - const baseClasses = 'h-4 w-4 transition-transform duration-200 ease-in-out' + const baseClasses = 'h-4 w-4 transition-transform shrink-0 duration-200 ease-in-out' if (props.color === 'subtle') { // Subtle variant: 90° when closed, 0° when open