profile: absolute-positioning fix

fixes urbit/landscape#444
This commit is contained in:
James Acklin 2021-03-04 12:59:44 -05:00
parent 9c3995024d
commit f467bb2363

View File

@ -165,7 +165,7 @@ export function Profile(props: any): ReactElement {
const ViewInterface = () => {
return (
<Center p={[0, 4]} height='100%' width='100%'>
<Box ref={anchorRef} maxWidth='600px' width='100%'>
<Box ref={anchorRef} maxWidth='600px' width='100%' position='relative'>
<ViewProfile
api={props.api}
nacked={nacked}
@ -183,7 +183,7 @@ export function Profile(props: any): ReactElement {
const EditInterface = () => {
return (
<Center p={[0, 4]} height='100%' width='100%'>
<Box ref={anchorRef} maxWidth='600px' width='100%'>
<Box ref={anchorRef} maxWidth='600px' width='100%' position='relative'>
<EditProfile
ship={ship}
contact={contact}