From da2f32938a593b74759149b0d55d1e7ab9eb8bfc Mon Sep 17 00:00:00 2001 From: gopienkonikita Date: Fri, 26 Jul 2024 14:02:26 +0300 Subject: [PATCH] Web: Components: Selector: fixed styles --- packages/shared/components/selector/Selector.styled.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/shared/components/selector/Selector.styled.ts b/packages/shared/components/selector/Selector.styled.ts index 6653cdd129..244fa9c175 100644 --- a/packages/shared/components/selector/Selector.styled.ts +++ b/packages/shared/components/selector/Selector.styled.ts @@ -112,11 +112,11 @@ const StyledBody = styled.div<{ height: ${(props) => props.footerVisible ? props.withHeader - ? `calc(100% - 16px - ${props.footerHeight}px - ${props.headerHeight}px)` - : `calc(100% - 16px - ${props.footerHeight}px)` + ? `calc(100% - ${props.footerHeight}px - ${props.headerHeight}px)` + : `calc(100% - ${props.footerHeight}px)` : props.withHeader - ? `calc(100% - 16px - ${props.headerHeight}px)` - : `calc(100% - 16px)`}; + ? `calc(100% - ${props.headerHeight}px)` + : "100%"}; padding: ${({ withTabs }) => (withTabs ? "0" : "16px 0 0 0")};