mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
MM-54777 - Updating invite modal guest button (#24977)
* MM-54777 - Updating invite modal guest button * Updating button
This commit is contained in:
parent
a272a78e63
commit
52fe06db4e
@ -474,7 +474,7 @@ export default class ChannelInviteModal extends React.PureComponent<Props, State
|
||||
return (
|
||||
<ToggleModalButton
|
||||
id='inviteGuest'
|
||||
className={`${props.inviteAsGuest ? 'invite-as-guest' : ''} btn btn-tertiary`}
|
||||
className={`${props.inviteAsGuest ? 'invite-as-guest' : ''} btn btn-link`}
|
||||
modalId={ModalIdentifiers.INVITATION}
|
||||
dialogType={InvitationModal}
|
||||
dialogProps={{
|
||||
|
@ -179,6 +179,19 @@ button {
|
||||
}
|
||||
}
|
||||
|
||||
&.btn-link {
|
||||
padding: 0;
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: rgba(var(--button-bg-rgb), 1);
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
&.btn-primary {
|
||||
position: relative;
|
||||
border-color: transparent;
|
||||
|
@ -168,13 +168,10 @@
|
||||
}
|
||||
|
||||
.invite-as-guest {
|
||||
width: fit-content;
|
||||
order: 1;
|
||||
padding-top: 8px;
|
||||
margin-top: 8px;
|
||||
margin-right: 2.4rem;
|
||||
margin-bottom: 22px;
|
||||
margin-left: auto;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.multi-select__footer {
|
||||
|
@ -194,7 +194,7 @@
|
||||
}
|
||||
|
||||
.icon-arrow-collapse {
|
||||
display: inline-block;
|
||||
display: inline-flex;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user