forked from abner/for-legacy-web
fix(channel): mobile jump bar fixed
parent
7e02979560
commit
d1e1449f99
|
|
@ -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 New Issue