fix(fe/settings panel): unify title classes

This commit is contained in:
hexxa 2021-12-25 17:11:42 +08:00 committed by Hexxa
parent 6aed184ad9
commit a66046bd01
2 changed files with 4 additions and 3 deletions

View file

@ -370,6 +370,7 @@
.theme-default .pane-title { .theme-default .pane-title {
color: black; color: black;
line-height: 4rem;
} }
.theme-default #pane-settings { .theme-default #pane-settings {

View file

@ -238,7 +238,7 @@ export class PaneSettings extends React.Component<Props, State, {}> {
<div> <div>
<Flexbox <Flexbox
children={List([ children={List([
<h5 className="title"> <h5 className="pane-title">
{this.props.msg.pkg.get("settings.chooseLan")} {this.props.msg.pkg.get("settings.chooseLan")}
</h5>, </h5>,
])} ])}
@ -269,7 +269,7 @@ export class PaneSettings extends React.Component<Props, State, {}> {
<div> <div>
<Flexbox <Flexbox
children={List([ children={List([
<h5 className="title"> <h5 className="pane-title">
{this.props.msg.pkg.get("settings.customLan")} {this.props.msg.pkg.get("settings.customLan")}
</h5>, </h5>,
@ -302,7 +302,7 @@ export class PaneSettings extends React.Component<Props, State, {}> {
<div> <div>
<Flexbox <Flexbox
children={List([ children={List([
<h5 className="title">{this.props.msg.pkg.get("cfg.bg")}</h5>, <h5 className="pane-title">{this.props.msg.pkg.get("cfg.bg")}</h5>,
<button onClick={this.syncPreferences}> <button onClick={this.syncPreferences}>
{this.props.msg.pkg.get("update")} {this.props.msg.pkg.get("update")}