Skip to content

Commit a923df5

Browse files
committed
Let the sparktag input grow automatically and shift the search input
1 parent 2d7ede4 commit a923df5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/pages/index.astro

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ import Layout from "../layouts/BaseLayout.astro";
1111
<script src="../scripts/store/queryStore.ts"></script>
1212
<script src="../scripts/theme/initTheme.ts"></script>
1313
<Layout title="Sparktags">
14-
<main class="px-2 md:px-0 grid md:grid-cols-[max-content_minmax(300px,_400px)_minmax(350px,_600px)] grid-cols-[min-content_minmax(auto,_600px)] md:grid-rows-[1fr] grid-rows-[max-content_max-content_max-content] md:gap-6 gap-2 h-full relative place-self-center">
14+
<main
15+
class="px-2 md:px-0 grid md:grid-cols-[max-content_minmax(300px,_400px)_minmax(350px,_600px)] grid-cols-[min-content_minmax(auto,_600px)] md:grid-rows-[1fr] grid-rows-[max-content_max-content_max-content] md:gap-6 gap-2 h-full relative place-self-center"
16+
>
1517
<div>
1618
<div class="md:py-10 pt-1 flex flex-col place-items-end sticky top-0">
1719
<!-- We need an h1 for accessibility reasons -->
@@ -22,7 +24,7 @@ import Layout from "../layouts/BaseLayout.astro";
2224
<!-- the following div is needed for the sticky aside to work -->
2325
<div>
2426
<aside
25-
class="md:py-10 pt-1 grid grid-rows-[max-content_max-content_max-content_0px] md:grid-rows-[max-content_200px_1fr_max-content] gap-4 md:max-h-screen md:h-screen sticky top-0"
27+
class="md:py-10 pt-1 grid grid-rows-[max-content_max-content_max-content_0px] md:grid-rows-[max-content_minmax(200px,_auto)_1fr_max-content] gap-4 md:max-h-screen md:h-screen sticky top-0"
2628
>
2729
<div>
2830
<AppMenu />

0 commit comments

Comments
 (0)