Fix spacing errors (#7484)
This commit is contained in:
parent
8f60d8d2c7
commit
6199c337ea
26 changed files with 74 additions and 46 deletions
|
@ -170,7 +170,7 @@ export default class ThemeChoicePanel extends React.Component<IProps, IState> {
|
|||
checked={isHighContrastTheme(this.state.theme)}
|
||||
onChange={(e) => this.highContrastThemeChanged(e.target.checked)}
|
||||
>
|
||||
{ _t( "Use high contrast" ) }
|
||||
{ _t("Use high contrast") }
|
||||
</StyledCheckbox>
|
||||
</div>;
|
||||
}
|
||||
|
|
|
@ -93,7 +93,7 @@ export class ExistingEmailAddress extends React.Component<IExistingEmailAddressP
|
|||
return (
|
||||
<div className="mx_ExistingEmailAddress">
|
||||
<span className="mx_ExistingEmailAddress_promptText">
|
||||
{ _t("Remove %(email)s?", { email: this.props.email.address } ) }
|
||||
{ _t("Remove %(email)s?", { email: this.props.email.address }) }
|
||||
</span>
|
||||
<AccessibleButton
|
||||
onClick={this.onActuallyRemove}
|
||||
|
|
|
@ -337,7 +337,7 @@ export default class HelpUserSettingsTab extends React.Component<IProps, IState>
|
|||
<details>
|
||||
<summary>{ _t("Access Token") }</summary><br />
|
||||
<b>{ _t("Your access token gives full access to your account."
|
||||
+ " Do not share it with anyone." ) }</b>
|
||||
+ " Do not share it with anyone.") }</b>
|
||||
<div className="mx_HelpUserSettingsTab_copy">
|
||||
<code>{ MatrixClientPeg.get().getAccessToken() }</code>
|
||||
<AccessibleTooltipButton
|
||||
|
|
|
@ -81,7 +81,7 @@ export default class LabsUserSettingsTab extends React.Component<{}, IState> {
|
|||
let betaSection;
|
||||
if (betas.length) {
|
||||
betaSection = <div className="mx_SettingsTab_section">
|
||||
{ betas.map(f => <BetaCard key={f} featureId={f} /> ) }
|
||||
{ betas.map(f => <BetaCard key={f} featureId={f} />) }
|
||||
</div>;
|
||||
}
|
||||
|
||||
|
|
|
@ -96,10 +96,10 @@ export default class SecurityUserSettingsTab extends React.Component<IProps, ISt
|
|||
};
|
||||
}
|
||||
|
||||
private onAction = ({ action }: ActionPayload)=> {
|
||||
private onAction = ({ action }: ActionPayload) => {
|
||||
if (action === "ignore_state_changed") {
|
||||
const ignoredUserIds = MatrixClientPeg.get().getIgnoredUsers();
|
||||
const newWaitingUnignored = this.state.waitingUnignored.filter(e=> ignoredUserIds.includes(e));
|
||||
const newWaitingUnignored = this.state.waitingUnignored.filter(e => ignoredUserIds.includes(e));
|
||||
this.setState({ ignoredUserIds, waitingUnignored: newWaitingUnignored });
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue