fix: center icons in Alert and CartSnackbar components

This commit is contained in:
Kirill
2026-05-25 19:12:06 +05:00
parent a40c68141e
commit 849e96511e
3 changed files with 23 additions and 0 deletions
+10
View File
@@ -44,12 +44,22 @@ export function CartSnackbar() {
border: 'none',
boxShadow: 'none',
p: 1.5,
alignItems: 'center',
'& .MuiAlert-icon': {
padding: 0,
mr: 1.5,
display: 'flex',
alignItems: 'center',
},
'& .MuiAlert-message': {
padding: 0,
fontSize: '0.875rem',
fontWeight: 600,
},
'& .MuiAlert-action': {
padding: 0,
mr: 0,
ml: 1,
},
}}
action={