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