Web:Components:Aside: change aside width

This commit is contained in:
Timofey Boyko 2022-05-04 18:41:57 +03:00
parent 13d0984abb
commit fd313b1f32

View File

@ -23,10 +23,10 @@ const StyledAside = styled(Container)`
right: ${(props) => props.theme.aside.right};
top: ${(props) => props.theme.aside.top};
transform: translateX(
${(props) => (props.visible ? "0" : props.scale ? "100%" : "325px")}
${(props) => (props.visible ? "0" : props.scale ? "100%" : "480px")}
);
transition: ${(props) => props.theme.aside.transition};
width: ${(props) => (props.scale ? "100%" : "325px")};
width: ${(props) => (props.scale ? "100%" : "480px")};
z-index: ${(props) => props.zIndex};
box-sizing: border-box;