File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
packages/vuetify/src/components/VImg Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 6
6
--v-theme-overlay-multiplier : 3
7
7
z-index : 0
8
8
9
+ & .v-img--absolute
10
+ height : 100%
11
+ left : 0
12
+ overflow : hidden
13
+ position : absolute
14
+ top : 0
15
+ width : 100%
16
+ z-index : -1
17
+
9
18
& --booting .v-responsive__sizer
10
19
transition : none
11
20
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ export type VImgSlots = {
54
54
}
55
55
56
56
export const makeVImgProps = propsFactory ( {
57
+ absolute : Boolean ,
57
58
alt : String ,
58
59
cover : Boolean ,
59
60
color : String ,
@@ -351,7 +352,10 @@ export const VImg = genericComponent<VImgSlots>()({
351
352
< VResponsive
352
353
class = { [
353
354
'v-img' ,
354
- { 'v-img--booting' : ! isBooted . value } ,
355
+ {
356
+ 'v-img--absolute' : props . absolute ,
357
+ 'v-img--booting' : ! isBooted . value ,
358
+ } ,
355
359
backgroundColorClasses . value ,
356
360
roundedClasses . value ,
357
361
props . class ,
You can’t perform that action at this time.
0 commit comments