profile: add z-index for iOS safari

Fixes #3383.
This commit is contained in:
Matilde Park 2020-09-08 13:57:07 -04:00
parent 0ddb4a4887
commit 55039f2879

View File

@ -1,6 +1,6 @@
import React from "react"; import React from "react";
import { Box, Text, Row, Col, Center, Icon } from "@tlon/indigo-react"; import { Box, Text, Row, Col, Icon } from "@tlon/indigo-react";
import { Sigil } from "~/logic/lib/sigil"; import { Sigil } from "~/logic/lib/sigil";
import { uxToHex, MOBILE_BROWSER_REGEX } from "~/logic/lib/util"; import { uxToHex, MOBILE_BROWSER_REGEX } from "~/logic/lib/util";
@ -15,7 +15,6 @@ const SidebarItem = ({ children, view, current }) => {
return ( return (
<Link to={`/~profile/${view}`}> <Link to={`/~profile/${view}`}>
<Row <Row
display="flex"
alignItems="center" alignItems="center"
verticalAlign="middle" verticalAlign="middle"
py={1} py={1}
@ -85,7 +84,7 @@ export default function ProfileScreen(props: any) {
<Sigil ship={`~${ship}`} size={80} color={sigilColor} /> <Sigil ship={`~${ship}`} size={80} color={sigilColor} />
</Box> </Box>
</Box> </Box>
<Box width="100%" py={3}> <Box width="100%" py={3} zIndex='2'>
<SidebarItem current={view} view="identity"> <SidebarItem current={view} view="identity">
Your Identity Your Identity
</SidebarItem> </SidebarItem>