From 4cefc67ffe7234139178e3acea380e0428e3480f Mon Sep 17 00:00:00 2001 From: Kael Date: Fri, 9 Sep 2022 01:05:13 +1000 Subject: [PATCH] fix(VBtn): use sizeStyles see #15746, needs more work to set font-size too --- packages/vuetify/src/components/VBtn/VBtn.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/vuetify/src/components/VBtn/VBtn.tsx b/packages/vuetify/src/components/VBtn/VBtn.tsx index 71d30051e16..0b92a96b9e7 100644 --- a/packages/vuetify/src/components/VBtn/VBtn.tsx +++ b/packages/vuetify/src/components/VBtn/VBtn.tsx @@ -90,7 +90,7 @@ export const VBtn = defineComponent({ const { locationStyles } = useLocation(props) const { positionClasses } = usePosition(props) const { roundedClasses } = useRounded(props) - const { sizeClasses } = useSize(props) + const { sizeClasses, sizeStyles } = useSize(props) const group = useGroupItem(props, props.symbol, false) const link = useLink(props, attrs) const isDisabled = computed(() => group?.disabled.value || props.disabled) @@ -137,6 +137,7 @@ export const VBtn = defineComponent({ hasColor ? colorStyles.value : undefined, dimensionStyles.value, locationStyles.value, + sizeStyles.value, ]} disabled={ isDisabled.value || undefined } href={ link.href.value }