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 (
|
return (
|
||||||
<ToggleModalButton
|
<ToggleModalButton
|
||||||
id='inviteGuest'
|
id='inviteGuest'
|
||||||
className={`${props.inviteAsGuest ? 'invite-as-guest' : ''} btn btn-tertiary`}
|
className={`${props.inviteAsGuest ? 'invite-as-guest' : ''} btn btn-link`}
|
||||||
modalId={ModalIdentifiers.INVITATION}
|
modalId={ModalIdentifiers.INVITATION}
|
||||||
dialogType={InvitationModal}
|
dialogType={InvitationModal}
|
||||||
dialogProps={{
|
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 {
|
&.btn-primary {
|
||||||
position: relative;
|
position: relative;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
|
|||||||
@@ -168,13 +168,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.invite-as-guest {
|
.invite-as-guest {
|
||||||
width: fit-content;
|
margin-top: 8px;
|
||||||
order: 1;
|
|
||||||
padding-top: 8px;
|
|
||||||
margin-right: 2.4rem;
|
margin-right: 2.4rem;
|
||||||
margin-bottom: 22px;
|
margin-bottom: 22px;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
font-weight: 600;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.multi-select__footer {
|
.multi-select__footer {
|
||||||
|
|||||||
@@ -194,7 +194,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.icon-arrow-collapse {
|
.icon-arrow-collapse {
|
||||||
display: inline-block;
|
display: inline-flex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user