Web:Components:Fix submenu styles.

This commit is contained in:
Vlada Gazizova 2022-08-16 13:52:57 +03:00
parent ba260e18a2
commit 9ca329f6a2

View File

@ -84,10 +84,10 @@ export const StyledSubmenuItemText = styled.div`
width: 100%; width: 100%;
display: flex; display: flex;
/* .item-text { .item-text {
color: ${(props) => color: ${(props) =>
props.isActive ? props.theme.submenu.textColor : "#657077"}; props.isActive ? props.theme.submenu.textColor : "#657077"};
} */ }
`; `;
StyledSubmenuItemText.defaultProps = { theme: Base }; StyledSubmenuItemText.defaultProps = { theme: Base };
@ -99,8 +99,8 @@ export const StyledSubmenuItemLabel = styled.div`
height: 4px; height: 4px;
bottom: 0px; bottom: 0px;
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
/* background-color: ${(props) => background-color: ${(props) =>
props.isActive ? props.theme.submenu.bottomLineColor : "none"}; */ props.isActive ? props.theme.submenu.bottomLineColor : ""};
`; `;
StyledSubmenuItemLabel.defaultProps = { theme: Base }; StyledSubmenuItemLabel.defaultProps = { theme: Base };