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
4242 className = " parallax-banner-layer-0"
4343 style = {
4444 Object {
45- " bottom" : " -20% " ,
45+ " bottom" : " -20px " ,
4646 " left" : 0 ,
4747 " position" : " absolute" ,
4848 " right" : 0 ,
49- " top" : " -20% " ,
49+ " top" : " -20px " ,
5050 }
5151 }
5252 >
@@ -104,11 +104,11 @@ exports[`Expect the <ParallaxBanner> component to render image banners correctly
104104 " backgroundImage" : " url(https://foo.com/bar.jpg)" ,
105105 " backgroundPosition" : " center" ,
106106 " backgroundSize" : " cover" ,
107- " bottom" : " -20% " ,
107+ " bottom" : " -20px " ,
108108 " left" : 0 ,
109109 " position" : " absolute" ,
110110 " right" : 0 ,
111- " top" : " -20% " ,
111+ " top" : " -20px " ,
112112 }
113113 }
114114 />
@@ -164,11 +164,11 @@ exports[`Expect the <ParallaxBanner> component to render layers with custom prop
164164 style = {
165165 Object {
166166 " backgroundColor" : " red" ,
167- " bottom" : " -20% " ,
167+ " bottom" : " -20px " ,
168168 " left" : 0 ,
169169 " position" : " absolute" ,
170170 " right" : 0 ,
171- " top" : " -20% " ,
171+ " top" : " -20px " ,
172172 }
173173 }
174174 />
You can’t perform that action at this time.
0 commit comments