mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 21:12:56 +03:00
groups: make action buttons transparent bg
This commit is contained in:
parent
94818c915d
commit
d16e873272
@ -319,7 +319,7 @@ function Participant(props: {
|
||||
gapY={2}
|
||||
p={2}
|
||||
>
|
||||
<Action>
|
||||
<Action bg="transparent">
|
||||
<Link to={`/~chat/new/dm/${contact.patp}`}>
|
||||
<Text color="green">Send Message</Text>
|
||||
</Link>
|
||||
@ -327,16 +327,16 @@ function Participant(props: {
|
||||
{props.role === "admin" && (
|
||||
<>
|
||||
{!isInvite && (
|
||||
<StatelessAsyncAction onClick={onBan}>
|
||||
<StatelessAsyncAction onClick={onBan} bg="transparent">
|
||||
<Text color="red">Ban from {title}</Text>
|
||||
</StatelessAsyncAction>
|
||||
)}
|
||||
{role === "admin" ? (
|
||||
<StatelessAsyncAction onClick={onDemote}>
|
||||
<StatelessAsyncAction onClick={onDemote} bg="transparent">
|
||||
Demote from Admin
|
||||
</StatelessAsyncAction>
|
||||
) : (
|
||||
<StatelessAsyncAction onClick={onPromote}>
|
||||
<StatelessAsyncAction onClick={onPromote} bg="transparent">
|
||||
Promote to Admin
|
||||
</StatelessAsyncAction>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user