refactor: remove unnecessary margin properties from DarkModeToggle, LanguageSwitcher, and Header components
This commit is contained in:
@@ -16,7 +16,6 @@ const DarkModeToggle = () => {
|
|||||||
size="large"
|
size="large"
|
||||||
sx={{
|
sx={{
|
||||||
alignSelf: "right",
|
alignSelf: "right",
|
||||||
ml: 1,
|
|
||||||
color: theme.palette.text.secondary,
|
color: theme.palette.text.secondary,
|
||||||
fontSize: "24px",
|
fontSize: "24px",
|
||||||
}}>
|
}}>
|
||||||
|
|||||||
@@ -31,8 +31,6 @@ const LanguageSwitcher = () => {
|
|||||||
size="large"
|
size="large"
|
||||||
sx={{
|
sx={{
|
||||||
alignSelf: "right",
|
alignSelf: "right",
|
||||||
mr: 1,
|
|
||||||
ml: 1,
|
|
||||||
color: theme.palette.text.secondary,
|
color: theme.palette.text.secondary,
|
||||||
fontSize: "24px",
|
fontSize: "24px",
|
||||||
}}>
|
}}>
|
||||||
|
|||||||
@@ -64,11 +64,7 @@ const Header = () => {
|
|||||||
<IconButton
|
<IconButton
|
||||||
aria-label="Projects"
|
aria-label="Projects"
|
||||||
size="large"
|
size="large"
|
||||||
sx={{
|
sx={{ color: theme.palette.text.secondary }}>
|
||||||
// px: 2,
|
|
||||||
mx: 2,
|
|
||||||
color: theme.palette.text.secondary,
|
|
||||||
}}>
|
|
||||||
<ThreeSixtyIcon />
|
<ThreeSixtyIcon />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
Reference in New Issue
Block a user