Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix look of the untrusted device dialog (#7487)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonBrandner authored Jan 10, 2022
1 parent 9cb8ce7 commit fe16f22
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions res/css/views/dialogs/_UntrustedDeviceDialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,10 @@ limitations under the License.
margin-left: 0;
}
}

.mx_Dialog_buttons {
display: flex;
justify-content: end;
gap: 8px;
}
}
4 changes: 2 additions & 2 deletions src/components/views/dialogs/UntrustedDeviceDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ const UntrustedDeviceDialog: React.FC<IProps> = ({ device, user, onFinished }) =
<p>{ askToVerifyText }</p>
</div>
<div className='mx_Dialog_buttons'>
<AccessibleButton element="button" kind="secondary" onClick={() => onFinished("legacy")}>
<AccessibleButton kind="primary_outline" onClick={() => onFinished("legacy")}>
{ _t("Manually Verify by Text") }
</AccessibleButton>
<AccessibleButton element="button" kind="secondary" onClick={() => onFinished("sas")}>
<AccessibleButton kind="primary_outline" onClick={() => onFinished("sas")}>
{ _t("Interactively verify by Emoji") }
</AccessibleButton>
<AccessibleButton kind="primary" onClick={() => onFinished(false)}>
Expand Down

0 comments on commit fe16f22

Please sign in to comment.