Enlarge the article price typography in the price tile.

This commit is contained in:
seb
2026-08-01 05:46:09 +02:00
parent 335f808421
commit 1b8652ceaf

View File

@@ -174,13 +174,25 @@ const articlePriceTextSx = {
}; };
const articlePriceFieldSx = { const articlePriceFieldSx = {
'& .MuiOutlinedInput-root': {
alignItems: 'baseline',
},
'& .MuiInputBase-input': { '& .MuiInputBase-input': {
fontSize: '2rem', fontSize: '3.5rem',
py: 0.5,
height: 'auto',
...articlePriceTextSx, ...articlePriceTextSx,
}, },
'& .MuiInputAdornment-root': {
marginRight: 0.75,
height: 'auto',
maxHeight: 'none',
alignItems: 'baseline',
},
'& .MuiInputAdornment-root .MuiTypography-root': { '& .MuiInputAdornment-root .MuiTypography-root': {
fontSize: '1.25rem', fontSize: '2rem',
fontWeight: 700, fontWeight: 700,
lineHeight: 1.1,
}, },
// Keep 1px outline in all states so focus/edit doesn't nudge the value. // Keep 1px outline in all states so focus/edit doesn't nudge the value.
'& .MuiOutlinedInput-notchedOutline': { '& .MuiOutlinedInput-notchedOutline': {