File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
packages/vuetify/src/components/VGrid Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import './VGrid.sass'
3
3
4
4
// Composables
5
5
import { makeComponentProps } from '@/composables/component'
6
+ import { makeDimensionProps , useDimension } from '@/composables/dimensions'
6
7
import { useRtl } from '@/composables/locale'
7
8
import { makeTagProps } from '@/composables/tag'
8
9
@@ -16,6 +17,7 @@ export const makeVContainerProps = propsFactory({
16
17
} ,
17
18
18
19
...makeComponentProps ( ) ,
20
+ ...makeDimensionProps ( ) ,
19
21
...makeTagProps ( ) ,
20
22
} , 'VContainer' )
21
23
@@ -26,6 +28,7 @@ export const VContainer = genericComponent()({
26
28
27
29
setup ( props , { slots } ) {
28
30
const { rtlClasses } = useRtl ( )
31
+ const { dimensionStyles } = useDimension ( props )
29
32
30
33
useRender ( ( ) => (
31
34
< props . tag
@@ -35,7 +38,10 @@ export const VContainer = genericComponent()({
35
38
rtlClasses . value ,
36
39
props . class ,
37
40
] }
38
- style = { props . style }
41
+ style = { [
42
+ dimensionStyles . value ,
43
+ props . style ,
44
+ ] }
39
45
v-slots = { slots }
40
46
/>
41
47
) )
You can’t perform that action at this time.
0 commit comments