mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-10-14 21:20:48 +08:00
fix(ui): center sidebar item labels (#7289)
Remove the negative text offset so labels remain centered within the list item text area.
This commit is contained in:
@@ -121,7 +121,6 @@ export const LayoutItem = (props: Props) => {
|
||||
<ListItemText
|
||||
sx={{
|
||||
textAlign: 'center',
|
||||
marginLeft: effectiveMenuIcon === 'disable' ? '' : '-35px',
|
||||
}}
|
||||
primary={children}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user