Skip to content

Commit 947d7d5

Browse files
committed
fix(VGrid): restore no-gutters instead of mapping to "compact"
1 parent cae1cea commit 947d7d5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/vuetify/src/components/VGrid/VGrid.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ $false: ' '
2626
--v-col-gap-x: #{settings.$grid-gutter + $modifier * 2}
2727
--v-col-gap-y: #{settings.$grid-gutter + $modifier * 2}
2828

29-
.v-row--no-gutter
29+
.v-row--no-gutters
3030
--v-col-gap-x: 0px
3131
--v-col-gap-y: 0px
3232

packages/vuetify/src/components/VGrid/VRow.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,9 @@ export const VRow = genericComponent()({
125125
}
126126

127127
classList.push({
128+
'v-row--no-gutters': props.noGutters,
128129
'v-row--density-default': props.density === 'default' && !props.noGutters && !props.dense,
129-
'v-row--density-compact': props.density === 'compact' || props.noGutters,
130+
'v-row--density-compact': props.density === 'compact',
130131
'v-row--density-comfortable': props.density === 'comfortable' || props.dense,
131132
[`align-${props.align}`]: props.align,
132133
[`justify-${props.justify}`]: props.justify,

0 commit comments

Comments
 (0)