mirror of
https://github.com/Xevion/banner.git
synced 2026-01-31 04:23:34 -06:00
fix: remove out:fade transition from CourseTable
This commit is contained in:
@@ -379,12 +379,12 @@ const table = createSvelteTable({
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
{:else}
|
{:else}
|
||||||
|
<!-- No out: transition — Svelte outros break table layout (tbody loses positioning and overlaps) -->
|
||||||
{#each table.getRowModel().rows as row, i (row.id)}
|
{#each table.getRowModel().rows as row, i (row.id)}
|
||||||
{@const course = row.original}
|
{@const course = row.original}
|
||||||
<tbody
|
<tbody
|
||||||
animate:flip={{ duration: 300 }}
|
animate:flip={{ duration: 300 }}
|
||||||
in:fade={{ duration: 200, delay: Math.min(i * 20, 400) }}
|
in:fade={{ duration: 200, delay: Math.min(i * 20, 400) }}
|
||||||
out:fade={{ duration: 150 }}
|
|
||||||
>
|
>
|
||||||
<tr
|
<tr
|
||||||
class="border-b border-border cursor-pointer hover:bg-muted/50 transition-colors whitespace-nowrap {expandedCrn ===
|
class="border-b border-border cursor-pointer hover:bg-muted/50 transition-colors whitespace-nowrap {expandedCrn ===
|
||||||
|
|||||||
Reference in New Issue
Block a user