Skip to content

Commit

Permalink
fix(VSpacer): remove utility class requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Aug 8, 2023
1 parent bfc744f commit 98cf8e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/vuetify/src/components/VGrid/VGrid.sass
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

&--fluid
max-width: 100%

&.fill-height
align-items: center
display: flex
Expand Down Expand Up @@ -40,6 +40,9 @@
> [class*="v-col-"]
padding: 0

.v-spacer
flex-grow: 1

// Columns
//
// Common styles for small and large grid columns
Expand Down
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VGrid/VSpacer.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Utilities
import { createSimpleFunctional } from '@/util'

export const VSpacer = createSimpleFunctional('flex-grow-1', 'div', 'VSpacer')
export const VSpacer = createSimpleFunctional('v-spacer', 'div', 'VSpacer')

export type VSpacer = InstanceType<typeof VSpacer>

0 comments on commit 98cf8e5

Please sign in to comment.