more mobile display improvements

This commit is contained in:
Hunter W.
2026-06-10 01:14:00 -04:00
parent 116a2ca06b
commit 8817db782f
6 changed files with 54 additions and 32 deletions

View File

@@ -23,7 +23,7 @@ export default function Nav({ section }: Props) {
gap: 0,
borderBottom: "1px solid var(--border)",
fontFamily: "var(--mono)",
fontSize: 13,
userSelect: "none",
}}>

View File

@@ -113,9 +113,11 @@ export default function ProjectCard({ project, visible, selected = false, setSel
className="project-card"
style={{
minWidth: "10em",
maxWidth: "90vw",
overflow: "hidden",
textDecoration: "none",
padding: 28,
marginTop: 3,
background: hovered ? "var(--surface-hover)" : "var(--surface)",
border: `2px solid var(--accent)`,
borderRadius: 8,

View File

@@ -131,6 +131,7 @@ const updateHeight = useCallback((projectId: number, heightPx: number) => {
<div style={{ padding: "48px 0", minWidth: 0 }}>
{header}
<div
className={"project-grid"}
ref={containerRef}
style={{
display: "flex",