mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-17 07:50:33 +08:00
fix(ui): restore memory usage centering in sidebar after MUI v9 migration
The MUI v9 migration moved boxStyle layout props into sx, but the memory usage Box had a separate sx that overwrote it. Merge boxStyle.sx like the upload/download rows already do.
This commit is contained in:
parent
71dc5f0bdb
commit
3ff53ab975
@ -131,6 +131,7 @@ export const LayoutTraffic = () => {
|
||||
title={`${t('home.components.traffic.metrics.memoryUsage')} `}
|
||||
{...boxStyle}
|
||||
sx={{
|
||||
...boxStyle.sx,
|
||||
cursor: 'auto',
|
||||
// opacity: memory?.is_fresh ? 1 : 0.6,
|
||||
}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user