mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
fix: left bar style on windows
This commit is contained in:
parent
59f150a73c
commit
eed579e861
2 changed files with 13 additions and 2 deletions
|
|
@ -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 &&
|
||||
|
|
|
|||
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue