Minor tweaks to UserSettings dialog (#12651)

* Make user settings dialog title looks like figma design

* dialog: add title to close button

* Update dialog snapshot

* Update playwright snapshot
This commit is contained in:
Florian Duros 2024-06-20 11:29:38 +02:00 committed by GitHub
parent 7e7b55efe3
commit 6c99b91210
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 175 additions and 158 deletions

View file

@ -128,6 +128,7 @@ export default class BaseDialog extends React.Component<IProps> {
onClick={this.onCancelClick}
className="mx_Dialog_cancelButton"
aria-label={_t("dialog_close_label")}
title={_t("dialog_close_label")}
/>
);
}
@ -184,8 +185,8 @@ export default class BaseDialog extends React.Component<IProps> {
)}
{this.props.headerButton}
</div>
{cancelButton}
{this.props.children}
{cancelButton}
</FocusLock>
</MatrixClientContext.Provider>
);