fix: left bar style on windows

This commit is contained in:
lin onetwo 2021-06-03 01:43:55 +08:00
parent 59f150a73c
commit eed579e861
2 changed files with 13 additions and 2 deletions

View file

@ -26,7 +26,7 @@ const Root = styled.div<{ hibernated?: boolean; active?: boolean }>`
-webkit-app-region: no-drag;
opacity: 0.8;
position: relative;
border-left: 4px solid;
border: 0;
border-color: transparent;
${({ hibernated }) =>
hibernated === true &&

View file

@ -48,6 +48,13 @@ const Root = styled.div`
width: 100%;
overflow: hidden;
background-color: ${({ theme }) => theme.palette.background.default};
.simplebar-content {
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
`;
const sideBarStyle = css`
@ -83,7 +90,10 @@ const SidebarTop = styled.div<{ fullscreen?: boolean }>`
`}
`;
const IconButton = styled(IconButtonRaw)``;
const IconButton = styled(IconButtonRaw)`
aspect-ratio: 1;
width: 80%;
`;
const InnerContentRoot = styled.div`
flex: 1;
@ -151,6 +161,7 @@ const TipWithoutSidebar = styled.div`
const SideBarEnd = styled.div`
display: flex;
flex-direction: column;
align-items: center;
`;
const HelperTextsList = styled.ul`