Use semantic headings in user settings - profile (#10973)
* account password section * account email and phone numbers * update cypress selectors * use settingsection for General section * use semantic headings for profile settings * fix show advanced spacing * udpate snapshot
This commit is contained in:
parent
520659242b
commit
b35fb4fed2
6 changed files with 13 additions and 22 deletions
|
@ -29,6 +29,7 @@ import AvatarSetting from "./AvatarSetting";
|
|||
import UserIdentifierCustomisations from "../../../customisations/UserIdentifier";
|
||||
import { chromeFileInputFix } from "../../../utils/BrowserWorkarounds";
|
||||
import PosthogTrackers from "../../../PosthogTrackers";
|
||||
import { SettingsSubsectionHeading } from "./shared/SettingsSubsectionHeading";
|
||||
|
||||
interface IState {
|
||||
originalDisplayName: string;
|
||||
|
@ -183,7 +184,7 @@ export default class ProfileSettings extends React.Component<{}, IState> {
|
|||
/>
|
||||
<div className="mx_ProfileSettings_profile">
|
||||
<div className="mx_ProfileSettings_profile_controls">
|
||||
<span className="mx_SettingsTab_subheading">{_t("Profile")}</span>
|
||||
<SettingsSubsectionHeading heading={_t("Profile")} />
|
||||
<Field
|
||||
label={_t("Display Name")}
|
||||
type="text"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue