mirror of
https://github.com/getmaxun/maxun.git
synced 2026-10-17 04:30:39 +08:00
fix: match icon button to app theme
This commit is contained in:
@@ -26,7 +26,22 @@ export const RunDiffPage: React.FC = () => {
|
||||
return (
|
||||
<Box sx={{ minHeight: '100vh', width: '100%', minWidth: 0, overflowX: 'hidden', bgcolor: 'background.paper', display: 'flex', flexDirection: 'column' }}>
|
||||
<Box sx={{ display: 'flex', alignItems: 'center', gap: 1, px: 3, py: 2 }}>
|
||||
<IconButton onClick={() => navigate(-1)} aria-label="back">
|
||||
<IconButton onClick={() => navigate(-1)} aria-label="back" sx={{
|
||||
color: theme.palette.text.primary,
|
||||
backgroundColor: 'transparent !important',
|
||||
'&:hover': {
|
||||
backgroundColor: 'transparent !important',
|
||||
},
|
||||
'&:active': {
|
||||
backgroundColor: 'transparent !important',
|
||||
},
|
||||
'&:focus': {
|
||||
backgroundColor: 'transparent !important',
|
||||
},
|
||||
'&:focus-visible': {
|
||||
backgroundColor: 'transparent !important',
|
||||
},
|
||||
}}>
|
||||
<ArrowBack />
|
||||
</IconButton>
|
||||
<Typography variant="h6">
|
||||
|
||||
Reference in New Issue
Block a user