Skip to content

Commit

Permalink
fix(VBtn): use sizeStyles
Browse files Browse the repository at this point in the history
see #15746, needs more work to set font-size too
  • Loading branch information
KaelWD committed Sep 8, 2022
1 parent a6fc62b commit 4cefc67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vuetify/src/components/VBtn/VBtn.tsx
Expand Up @@ -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)
Expand Down Expand Up @@ -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 }
Expand Down

0 comments on commit 4cefc67

Please sign in to comment.