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;
|
-webkit-app-region: no-drag;
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
position: relative;
|
position: relative;
|
||||||
border-left: 4px solid;
|
border: 0;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
${({ hibernated }) =>
|
${({ hibernated }) =>
|
||||||
hibernated === true &&
|
hibernated === true &&
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,13 @@ const Root = styled.div`
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-color: ${({ theme }) => theme.palette.background.default};
|
background-color: ${({ theme }) => theme.palette.background.default};
|
||||||
|
|
||||||
|
.simplebar-content {
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const sideBarStyle = css`
|
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`
|
const InnerContentRoot = styled.div`
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|
@ -151,6 +161,7 @@ const TipWithoutSidebar = styled.div`
|
||||||
const SideBarEnd = styled.div`
|
const SideBarEnd = styled.div`
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const HelperTextsList = styled.ul`
|
const HelperTextsList = styled.ul`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue