Add new line in settings label (#7451)

This commit is contained in:
Timo 2022-01-04 10:57:29 +01:00 committed by GitHub
parent b6c2b5c995
commit f4a94f6e7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -96,9 +96,9 @@ export default class SettingsFlag extends React.Component<IProps, IState> {
<div className="mx_SettingsFlag">
<label className="mx_SettingsFlag_label">
<span className="mx_SettingsFlag_labelText">{ label }</span>
{ description && <span className="mx_SettingsFlag_microcopy">
{ description && <div className="mx_SettingsFlag_microcopy">
{ description }
</span> }
</div> }
</label>
<ToggleSwitch
checked={this.state.value}