File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/components/ParallaxBanner/__snapshots__ Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,11 @@ exports[`Expect the <ParallaxBanner> component to render custom child banners co
42
42
className = " parallax-banner-layer-0"
43
43
style = {
44
44
Object {
45
- " bottom" : " -20% " ,
45
+ " bottom" : " -20px " ,
46
46
" left" : 0 ,
47
47
" position" : " absolute" ,
48
48
" right" : 0 ,
49
- " top" : " -20% " ,
49
+ " top" : " -20px " ,
50
50
}
51
51
}
52
52
>
@@ -104,11 +104,11 @@ exports[`Expect the <ParallaxBanner> component to render image banners correctly
104
104
" backgroundImage" : " url(https://foo.com/bar.jpg)" ,
105
105
" backgroundPosition" : " center" ,
106
106
" backgroundSize" : " cover" ,
107
- " bottom" : " -20% " ,
107
+ " bottom" : " -20px " ,
108
108
" left" : 0 ,
109
109
" position" : " absolute" ,
110
110
" right" : 0 ,
111
- " top" : " -20% " ,
111
+ " top" : " -20px " ,
112
112
}
113
113
}
114
114
/>
@@ -164,11 +164,11 @@ exports[`Expect the <ParallaxBanner> component to render layers with custom prop
164
164
style = {
165
165
Object {
166
166
" backgroundColor" : " red" ,
167
- " bottom" : " -20% " ,
167
+ " bottom" : " -20px " ,
168
168
" left" : 0 ,
169
169
" position" : " absolute" ,
170
170
" right" : 0 ,
171
- " top" : " -20% " ,
171
+ " top" : " -20px " ,
172
172
}
173
173
}
174
174
/>
You can’t perform that action at this time.
0 commit comments