mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-21 22:50:59 -05:00
fix(channel): mobile jump bar fixed
This commit is contained in:
parent
7e02979560
commit
d1e1449f99
1 changed files with 6 additions and 1 deletions
|
@ -17,6 +17,12 @@ export const Bar = styled.div<{ position: "top" | "bottom"; accent?: boolean }>`
|
||||||
props.position === "bottom" &&
|
props.position === "bottom" &&
|
||||||
css`
|
css`
|
||||||
top: -26px;
|
top: -26px;
|
||||||
|
|
||||||
|
${() =>
|
||||||
|
isTouchscreenDevice &&
|
||||||
|
css`
|
||||||
|
top: -32px;
|
||||||
|
`}
|
||||||
`}
|
`}
|
||||||
|
|
||||||
height: 28px;
|
height: 28px;
|
||||||
|
@ -71,7 +77,6 @@ export const Bar = styled.div<{ position: "top" | "bottom"; accent?: boolean }>`
|
||||||
isTouchscreenDevice &&
|
isTouchscreenDevice &&
|
||||||
css`
|
css`
|
||||||
height: 34px;
|
height: 34px;
|
||||||
/*top: -32px;*/
|
|
||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
`}
|
`}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue