Skip to content

Commit

Permalink
chore(demo): fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ssssota committed Dec 11, 2024
1 parent 95339ab commit 09065fa
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions demo/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,20 @@
<main class="grid md:grid-cols-[1fr_3fr]">
<div class="p-4 size-full bg-slate-100 md:order-last">
<h2 class="font-bold">Test Paths</h2>
<table class="w-full font-mono">
<table class="w-full font-mono border-spacing-10">
<thead>
<tr>
<th></th>
<th>path</th>
<th class="p-1"></th>
<th class="p-1">path</th>
{#each appIds as appId (appId)}
<th title={appId}>{appId}</th>
<th class="truncate max-w-6" title={appId}>{appId}</th>
{/each}
</tr>
</thead>
<tbody>
{#each paths as path (path.id)}
<tr>
<td>
<td class="w-3">
<button
type="button"
onclick={() => {
Expand All @@ -107,14 +107,14 @@
-
</button>
</td>
<td>
<td class="p-1">
<span
class="grow bg-white focus-within:outline-2 outline-blue-400/50 rounded-sm"
class="focus-within:outline-2 outline-blue-400/50 rounded-sm"
>
<input
bind:value={path.value}
id={path.id}
class="p-1 border-b border-gray-300 size-full focus:outline-none"
class="p-1 bg-white border-b border-gray-300 size-full focus:outline-none"
type="text"
autocomplete="off"
data-1p-ignore
Expand All @@ -137,6 +137,17 @@
{/await}
</tr>
{/each}
<tr>
<td class="p-1"></td>
<td class="p-1">
<button
type="button"
onclick={() => paths.push({ id: uuid(), value: "/" })}
>
+ Add more
</button>
</td>
</tr>
</tbody>
</table>
<!-- <ul class="grid grid-cols-[auto_1fr_auto] gap-1 font-mono">
Expand Down

0 comments on commit 09065fa

Please sign in to comment.