mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
fix: center aligned text in breakdown
This commit is contained in:
1 parent
e947cfba45
commit
8264f19ad4
1 file changed
+8
-1
@@ -55,6 +55,7 @@ export function RowStat({
|
|||||||
color: theme.colors.textHighContrast,
|
color: theme.colors.textHighContrast,
|
||||||
fontWeight: 'bold',
|
fontWeight: 'bold',
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
|
textAlign: 'center',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{value}
|
{value}
|
||||||
@@ -62,7 +63,13 @@ export function RowStat({
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{!minimized && (
|
{!minimized && (
|
||||||
<span style={{ color: theme.colors.textLowContrast, fontSize: 12 }}>
|
<span
|
||||||
|
style={{
|
||||||
|
color: theme.colors.textLowContrast,
|
||||||
|
textAlign: 'center',
|
||||||
|
fontSize: 12,
|
||||||
|
}}
|
||||||
|
>
|
||||||
{name}
|
{name}
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in new issue
Block a user