web: Components: Fixed height without groups

This commit is contained in:
Alexey Safronov 2019-12-08 21:45:32 +03:00
parent 63f967a015
commit 83181118db

View File

@ -97,7 +97,7 @@ const StyledContainer = styled(Container)`
grid-template-columns: 1fr;
grid-template-rows: ${props => props.displayType === "aside"
? (props.isMultiSelect && props.options && props.options.length > 0 ? "100px" : "70px")
? (props.isMultiSelect && props.options && props.options.length > 0 ? (props.groups && props.groups.length ? "100px" : "30px") : "70px")
: "30px"} 0.98fr;
grid-template-areas: "header-options" "body-options";