fix(sidebar): changed server sidebar width

This commit is contained in:
trashtemp
2022-01-15 12:36:50 +01:00
parent 8029f39c4e
commit 79550cb2ad
3 changed files with 14 additions and 7 deletions

View File

@@ -28,6 +28,7 @@ const Container = styled.div`
width: 100%;
height: 100%;
position: fixed;
padding-bottom: 50px;
background: var(--background);
`
@@ -47,6 +48,12 @@ const Frame = styled.iframe<{ loaded: boolean }>`
border-end-start-radius: 8px;
`}
${() =>
isTouchscreenDevice &&
css`
padding-top: 56px;
`}
${(props) =>
props.loaded
? css`
@@ -157,7 +164,7 @@ export default function Discover() {
return (
<Container>
{isTouchscreenDevice && (
<Header placement="primary">
<Header placement="primary" transparent>
<Compass size={27} />
Discover
</Header>