mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-07-02 02:35:57 -04:00
a bunch of cleanup, mostly of my messy css hacks over the years
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
.menu {
|
||||
display: inline-flex;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.item {
|
||||
display: inline-block;
|
||||
display: block;
|
||||
margin-left: 1em;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
@@ -27,7 +27,13 @@ const Menu = ({ className, ...rest }: MenuProps) => {
|
||||
);
|
||||
})}
|
||||
|
||||
<li className={styles.item}>
|
||||
<li
|
||||
className={styles.item}
|
||||
style={{
|
||||
// manually align the theme toggle with the rest of the menu icons
|
||||
paddingTop: "0.2em",
|
||||
}}
|
||||
>
|
||||
<MenuItem
|
||||
// @ts-expect-error
|
||||
icon={ThemeToggle}
|
||||
|
||||
Reference in New Issue
Block a user