mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-22 07:59:22 +03:00
Merge pull request #4372 from urbit/la/vis-fix
interface: popover settings style fixes
This commit is contained in:
commit
1bc5e6d103
@ -25,7 +25,7 @@ export function ChannelNotifications(props: ChannelNotificationsProps) {
|
||||
};
|
||||
|
||||
return (
|
||||
<Col mb="6" gapY="4">
|
||||
<Col mb="6" gapY="4" flexShrink={0}>
|
||||
<Text id="notifications" fontSize="2" fontWeight="bold">
|
||||
Channel Notifications
|
||||
</Text>
|
||||
|
@ -99,21 +99,21 @@ export function ChannelPopoverRoutes(props: ChannelPopoverRoutesProps) {
|
||||
<ChannelDetails {...props} />
|
||||
<GraphPermissions {...props} />
|
||||
{ isOwner ? (
|
||||
<Col mt="5" mb="6">
|
||||
<Text id="archive" fontSize="2" fontWeight="bold">
|
||||
Archive channel
|
||||
</Text>
|
||||
<Text mt="1" maxWidth="450px" gray>
|
||||
Archiving a channel will prevent further updates to the channel.
|
||||
Users who are currently joined to the channel will retain a copy
|
||||
of the channel.
|
||||
</Text>
|
||||
<Row mt="3">
|
||||
<StatelessAsyncButton destructive onClick={handleArchive}>
|
||||
Archive {props.association.metadata.title}
|
||||
</StatelessAsyncButton>
|
||||
</Row>
|
||||
</Col>
|
||||
<Col mt="5" mb="6" flexShrink={0}>
|
||||
<Text id="archive" fontSize="2" fontWeight="bold">
|
||||
Archive channel
|
||||
</Text>
|
||||
<Text mt="1" maxWidth="450px" gray>
|
||||
Archiving a channel will prevent further updates to the channel.
|
||||
Users who are currently joined to the channel will retain a copy
|
||||
of the channel.
|
||||
</Text>
|
||||
<Row mt="3">
|
||||
<StatelessAsyncButton destructive onClick={handleArchive}>
|
||||
Archive {props.association.metadata.title}
|
||||
</StatelessAsyncButton>
|
||||
</Row>
|
||||
</Col>
|
||||
|
||||
) : (
|
||||
<Col mt="5" mb="6">
|
||||
|
@ -338,6 +338,11 @@ function Participant(props: {
|
||||
gapY={2}
|
||||
p={2}
|
||||
>
|
||||
<Action bg="transparent">
|
||||
<Link to={`/~profile/~${contact.patp}`}>
|
||||
<Text color="black">View Profile</Text>
|
||||
</Link>
|
||||
</Action>
|
||||
<Action bg="transparent">
|
||||
<Link to={`/~landscape/dm/${contact.patp}`}>
|
||||
<Text color="green">Send Message</Text>
|
||||
|
Loading…
Reference in New Issue
Block a user