tweak html tag
This commit is contained in:
parent
c9a8fddd57
commit
262dca0f8e
|
|
@ -25,7 +25,7 @@ return [
|
||||||
'score_per_player' => '100',
|
'score_per_player' => '100',
|
||||||
'sign_after_zero' => 'false',
|
'sign_after_zero' => 'false',
|
||||||
'version' => '',
|
'version' => '',
|
||||||
'copyright_text' => '<strong>Copyright © {year} <a href="{site_url}">{site_name}</a>.</strong> All rights reserved.',
|
'copyright_text' => '<b>Copyright © {year} <a href="{site_url}">{site_name}</a>.</b> All rights reserved.',
|
||||||
'auto_del_invalid_texture' => 'false',
|
'auto_del_invalid_texture' => 'false',
|
||||||
'allow_downloading_texture' => 'true',
|
'allow_downloading_texture' => 'true',
|
||||||
'texture_name_regexp' => '',
|
'texture_name_regexp' => '',
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ interface Props {
|
||||||
unit: string
|
unit: string
|
||||||
}
|
}
|
||||||
|
|
||||||
const InfoBox: React.FC<Props> = props => {
|
const InfoBox: React.FC<Props> = (props) => {
|
||||||
const percentage = (props.used / props.total) * 100
|
const percentage = (props.used / props.total) * 100
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
@ -20,7 +20,7 @@ const InfoBox: React.FC<Props> = props => {
|
||||||
<div className="info-box-content">
|
<div className="info-box-content">
|
||||||
<span className="info-box-text">{props.name}</span>
|
<span className="info-box-text">{props.name}</span>
|
||||||
<span className="info-box-number">
|
<span className="info-box-number">
|
||||||
<strong>{props.used}</strong> / {props.total} {props.unit}
|
<b>{props.used}</b> / {props.total} {props.unit}
|
||||||
</span>
|
</span>
|
||||||
<div className="progress">
|
<div className="progress">
|
||||||
<div className="progress-bar" style={{ width: `${percentage}%` }} />
|
<div className="progress-bar" style={{ width: `${percentage}%` }} />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user