mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-07 07:30:23 +03:00
profile: allow line breaks in description
This commit is contained in:
parent
e37795dfa6
commit
53d416cf16
@ -7,6 +7,7 @@ import {
|
|||||||
Text,
|
Text,
|
||||||
Row,
|
Row,
|
||||||
Button,
|
Button,
|
||||||
|
Col
|
||||||
} from "@tlon/indigo-react";
|
} from "@tlon/indigo-react";
|
||||||
import { AsyncButton } from "~/views/components/AsyncButton";
|
import { AsyncButton } from "~/views/components/AsyncButton";
|
||||||
import RichText from "~/views/components/RichText";
|
import RichText from "~/views/components/RichText";
|
||||||
@ -37,16 +38,17 @@ export function ViewProfile(props: any) {
|
|||||||
<Text mono color="darkGray">{ship}</Text>
|
<Text mono color="darkGray">{ship}</Text>
|
||||||
</Center>
|
</Center>
|
||||||
</Row>
|
</Row>
|
||||||
<Row
|
<Col
|
||||||
pb={2}
|
pb={2}
|
||||||
alignItems="center"
|
alignItems="center"
|
||||||
|
justifyContent="center"
|
||||||
width="100%">
|
width="100%">
|
||||||
<Center width="100%">
|
<Center flexDirection="column" maxWidth='32rem'>
|
||||||
<RichText>
|
<RichText width='100%'>
|
||||||
{(contact?.bio ? contact.bio : "")}
|
{(contact?.bio ? contact.bio : "")}
|
||||||
</RichText>
|
</RichText>
|
||||||
</Center>
|
</Center>
|
||||||
</Row>
|
</Col>
|
||||||
{ (ship === `~${window.ship}`) ? (
|
{ (ship === `~${window.ship}`) ? (
|
||||||
<Row
|
<Row
|
||||||
pb={2}
|
pb={2}
|
||||||
|
Loading…
Reference in New Issue
Block a user