MM-54777 - Updating invite modal guest button (#24977)
* MM-54777 - Updating invite modal guest button * Updating button
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
a272a78e63
Коммит
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user