fix(jumpbar): started css rewrite

This commit is contained in:
trashtemp 2021-12-28 23:42:50 +01:00
parent e4159e1c6d
commit d20fa9e3ea
No known key found for this signature in database
GPG key ID: D1F0DB65081B0FC6

View file

@ -32,16 +32,6 @@ export const Bar = styled.div<{ position: "top" | "bottom"; accent?: boolean }>`
`}
> div {
${(props) =>
props.position === "bottom" &&
css`
${() =>
isTouchscreenDevice &&
css`
top: -90px;
`}
`}
height: 28px;
width: 100%;
position: absolute;
@ -53,7 +43,6 @@ export const Bar = styled.div<{ position: "top" | "bottom"; accent?: boolean }>`
user-select: none;
justify-content: space-between;
transition: color ease-in-out 0.08s;
top: -90px;
${(props) =>
props.accent