Web:Common:Navigation: hide toggle button, when info panel is opened

This commit is contained in:
Timofey Boyko 2023-08-29 17:27:08 +03:00
parent 06780b7f5d
commit 0242879692

View File

@ -13,6 +13,12 @@ const StyledInfoPanelToggleColorThemeWrapper = styled(ColorTheme)`
margin-bottom: 1px;
padding: 0;
${(props) =>
props.isInfoPanelVisible &&
css`
display: none;
`}
@media ${tablet} {
display: none;
margin-left: ${(props) => (props.isRootFolder ? "auto" : "0")};