MM-54777 - Updating invite modal guest button (#24977)

* MM-54777 - Updating invite modal guest button

* Updating button
Этот коммит содержится в:
Asaad Mahmood
2023-10-18 14:14:47 +05:00
коммит произвёл GitHub
родитель a272a78e63
Коммит 52fe06db4e
4 изменённых файлов: 16 добавлений и 6 удалений

Просмотреть файл

@@ -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;
}
}
}