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