mirror of
https://github.com/outbackdingo/openapi-ui.git
synced 2026-01-27 18:19:50 +00:00
border radius fix
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
@@ -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);
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user