Something went wrong. Try again.
Monorepo for Tangled
Something went wrong. Try again.
Svelte
1234567891011121314151617181920212223242526<script lang="ts"> import type { Snippet } from "svelte";
interface Props { columns?: string; class?: string; children: Snippet; }
let { columns = "md:grid-cols-[minmax(0,3fr)_max-content_minmax(0,7fr)_max-content]", class: className, children }: Props = $props();</script>
<!-- the list owns the columns and every row subscribes to them with subgrid, so the trailing column measures the widest pipeline-and-timestamp cell in the whole list instead of the one cell in its own row. a page where nothing ran ci collapses that column down to the timestamp alone.--><div class="{className} md:grid md:gap-x-xl {columns}"> {@render children()}</div>