border radius fix

This commit is contained in:
typescreep
2025-11-05 05:09:38 +03:00
parent 38e695b0af
commit 8b6582ae67
2 changed files with 5 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ const Container = styled.div<TContainerProps>`
direction: rtl;
max-height: ${({ $maxHeight }) => $maxHeight || 'initial'};
user-select: none;
border-top-right-radius: 12px;
border-top-right-radius: 7px;
& ul {
direction: ltr;
@@ -51,9 +51,9 @@ const Container = styled.div<TContainerProps>`
/* corner radius */
&& .ant-menu li:first-child div:first-child {
border-top-right-radius: 8px;
}
/* && .ant-menu li:first-child div:first-child {
border-top-right-radius: 4px;
} */
/* selected header bgcolor */

View File

@@ -11,6 +11,7 @@ const BackgroundContainer = styled.div<TBackgroundContainerProps>`
border-top-right-radius: ${({ $borderRadius }) => $borderRadius}px;
border: 1px ${({ $borderColor }) => $borderColor} solid;
border-left: 0;
box-sizing: border-box;
width: 250px;
height: calc(100vh - ${HEAD_FIRST_ROW}px);
`