1
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:
2025-04-18 12:11:16 -04:00
parent eec8f5e1c2
commit 98ea88dae9
25 changed files with 221 additions and 184 deletions
+4 -2
View File
@@ -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;
}
+7 -1
View File
@@ -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}