mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-08 01:45:28 +00:00
fix(channel): mobile jump bar fixed
This commit is contained in:
@@ -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;
|
||||||
`}
|
`}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user