Fixed brand logo resizing transition.
This commit is contained in:
@ -46,10 +46,13 @@ const Platform = (props) => {
|
|||||||
children = image;
|
children = image;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Wrap in a div and a fader. Div is to help with random transitions on resizing.
|
||||||
return (
|
return (
|
||||||
<ElementScrollFader from={props.from} className="p-home-page__brands-brand">
|
<div className="p-home-page__brands-brand">
|
||||||
{children}
|
<ElementScrollFader from={props.from}>
|
||||||
</ElementScrollFader>
|
{children}
|
||||||
|
</ElementScrollFader>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user