modify flapboard to take up larger screen area

This commit is contained in:
2026-11-01 18:11:53 -05:00
parent 46326b8ee3
commit 3b225f2f6e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ const toneClass: Record<Tone, string> = {
};
---
<div class="relative border-2 border-line-2 bg-ink pt-5 pr-6 pb-6 pl-6 max-sm:pt-4 max-sm:pr-3.5 max-sm:pb-[18px] max-sm:pl-3.5">
<div class="relative left-1/2 w-[max(100%,min(100vw,calc((100svh-140px)*1.7)))] -translate-x-1/2 border-2 border-line-2 bg-ink pt-5 pr-6 pb-6 pl-6 max-sm:pt-4 max-sm:pr-3.5 max-sm:pb-[18px] max-sm:pl-3.5">
<div class="@container flex flex-col gap-1.5 max-sm:gap-1" role="img" aria-label={boardLabel}>
{
rows.map((row) => (
+1 -1
View File
@@ -30,7 +30,7 @@ const canonical = new URL(Astro.url.pathname, Astro.site);
<meta property="og:url" content={canonical} />
<meta name="twitter:card" content="summary" />
</head>
<body class="bg-canvas text-fg">
<body class="overflow-x-clip bg-canvas text-fg">
<a class="absolute top-0 -left-[999px] z-10 bg-amber px-3.5 py-2.5 font-mono text-canvas focus:top-2 focus:left-2" href="#main">Skip to content</a>
<div class="mx-auto max-w-[1120px] px-6 max-sm:px-4">
<Nav />