mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:53:44 +08:00
fix: fix a little
This commit is contained in:
parent
44ad99f693
commit
aa77433523
@ -75,7 +75,7 @@ export const LayoutTraffic = () => {
|
|||||||
};
|
};
|
||||||
const valStyle: any = {
|
const valStyle: any = {
|
||||||
component: "span",
|
component: "span",
|
||||||
color: "primary",
|
// color: "primary",
|
||||||
textAlign: "center",
|
textAlign: "center",
|
||||||
sx: { flex: "1 1 56px", userSelect: "none" },
|
sx: { flex: "1 1 56px", userSelect: "none" },
|
||||||
};
|
};
|
||||||
@ -105,7 +105,9 @@ export const LayoutTraffic = () => {
|
|||||||
{...iconStyle}
|
{...iconStyle}
|
||||||
color={+up > 0 ? "secondary" : "disabled"}
|
color={+up > 0 ? "secondary" : "disabled"}
|
||||||
/>
|
/>
|
||||||
<Typography {...valStyle}>{up}</Typography>
|
<Typography {...valStyle} color="secondary">
|
||||||
|
{up}
|
||||||
|
</Typography>
|
||||||
<Typography {...unitStyle}>{upUnit}/s</Typography>
|
<Typography {...unitStyle}>{upUnit}/s</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
@ -114,7 +116,9 @@ export const LayoutTraffic = () => {
|
|||||||
{...iconStyle}
|
{...iconStyle}
|
||||||
color={+down > 0 ? "primary" : "disabled"}
|
color={+down > 0 ? "primary" : "disabled"}
|
||||||
/>
|
/>
|
||||||
<Typography {...valStyle}>{down}</Typography>
|
<Typography {...valStyle} color="primary">
|
||||||
|
{down}
|
||||||
|
</Typography>
|
||||||
<Typography {...unitStyle}>{downUnit}/s</Typography>
|
<Typography {...unitStyle}>{downUnit}/s</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user