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:
parent
7e7b55efe3
commit
6c99b91210
25 changed files with 175 additions and 158 deletions
|
@ -50,7 +50,7 @@ interface IProps {
|
|||
|
||||
function titleForTabID(tabId: UserTab): React.ReactNode {
|
||||
const subs = {
|
||||
strong: (sub: string) => <strong>{sub}</strong>,
|
||||
strong: (sub: string) => <span className="mx_UserSettingsDialog_title_strong">{sub}</span>,
|
||||
};
|
||||
switch (tabId) {
|
||||
case UserTab.General:
|
||||
|
@ -230,6 +230,7 @@ export default function UserSettingsDialog(props: IProps): JSX.Element {
|
|||
hasCancel={true}
|
||||
onFinished={props.onFinished}
|
||||
title={titleForTabID(activeTabId)}
|
||||
titleClass="mx_UserSettingsDialog_title"
|
||||
>
|
||||
<div className="mx_SettingsDialog_content">
|
||||
<TabbedView
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue