fix(style): unify styles
This commit is contained in:
parent
fedd3e6de1
commit
2a651d877e
2 changed files with 35 additions and 19 deletions
|
@ -655,7 +655,6 @@ export class Browser extends React.Component<Props, State, {}> {
|
||||||
<span className={`padding-m ${showOp}`}>
|
<span className={`padding-m ${showOp}`}>
|
||||||
<button
|
<button
|
||||||
onClick={() => this.selectAll()}
|
onClick={() => this.selectAll()}
|
||||||
className={`grey1-bg white-font`}
|
|
||||||
style={{ width: "8rem", display: "inline-block" }}
|
style={{ width: "8rem", display: "inline-block" }}
|
||||||
>
|
>
|
||||||
{this.props.msg.pkg.get("browser.selectAll")}
|
{this.props.msg.pkg.get("browser.selectAll")}
|
||||||
|
|
|
@ -85,32 +85,49 @@ export class PaneSettings extends React.Component<Props, State, {}> {
|
||||||
</h5>
|
</h5>
|
||||||
|
|
||||||
<div className="font-size-s margin-t-s">
|
<div className="font-size-s margin-t-s">
|
||||||
{`${this.props.msg.pkg.get("user.name")}: ${
|
<span className="grey0-font">
|
||||||
this.props.login.userName
|
{`${this.props.msg.pkg.get("user.name")}:`}{" "}
|
||||||
}`}
|
</span>
|
||||||
|
<span>{`${this.props.login.userName}`}</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="font-size-s margin-t-s">
|
<div className="font-size-s margin-t-s">
|
||||||
{`${this.props.msg.pkg.get("user.role")}: ${
|
<span className="grey0-font">
|
||||||
this.props.login.userRole
|
{`${this.props.msg.pkg.get("user.role")}:`}{" "}
|
||||||
}`}
|
</span>
|
||||||
|
<span>{`${this.props.login.userRole}`}</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="font-size-s margin-t-s">
|
<div className="font-size-s margin-t-s">
|
||||||
{`${this.props.msg.pkg.get("user.spaceLimit")}: ${FileSize(
|
<span className="grey0-font">
|
||||||
parseInt(this.props.login.quota.spaceLimit, 10),
|
{`${this.props.msg.pkg.get("user.spaceLimit")}:`}{" "}
|
||||||
{ round: 0 }
|
</span>
|
||||||
)}`}
|
<span>
|
||||||
|
{" "}
|
||||||
|
{`${FileSize(parseInt(this.props.login.quota.spaceLimit, 10), {
|
||||||
|
round: 0,
|
||||||
|
})}`}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="font-size-s margin-t-s">
|
<div className="font-size-s margin-t-s">
|
||||||
{`${this.props.msg.pkg.get("user.upLimit")}: ${FileSize(
|
<span className="grey0-font">
|
||||||
this.props.login.quota.uploadSpeedLimit,
|
{`${this.props.msg.pkg.get("user.upLimit")}:`}{" "}
|
||||||
{ round: 0 }
|
</span>
|
||||||
)}`}
|
<span>
|
||||||
|
{" "}
|
||||||
|
{`${FileSize(this.props.login.quota.uploadSpeedLimit, {
|
||||||
|
round: 0,
|
||||||
|
})}`}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="font-size-s margin-t-s">
|
<div className="font-size-s margin-t-s">
|
||||||
{`${this.props.msg.pkg.get("user.downLimit")}: ${FileSize(
|
<span className="grey0-font">
|
||||||
this.props.login.quota.downloadSpeedLimit,
|
{`${this.props.msg.pkg.get("user.downLimit")}:`}{" "}
|
||||||
{ round: 0 }
|
</span>
|
||||||
)}`}
|
<span>
|
||||||
|
{" "}
|
||||||
|
{`${FileSize(this.props.login.quota.downloadSpeedLimit, {
|
||||||
|
round: 0,
|
||||||
|
})}`}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue