Files
windmill/frontend/src/lib/components/table/Head.svelte
T
a9a9335a34 fix: keep the instance users table's actions and header in view (#11145)
* fix: keep the instance users table's actions and header in view

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015pMjimm9tUMXtD8rkWB62w

* fix: lock only the User option for group-granted roles and keep pinned cells opaque

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015pMjimm9tUMXtD8rkWB62w

* fix: close the instance settings drawer from the manage-in-workspace menu item

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015pMjimm9tUMXtD8rkWB62w

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-09-16 00:26:56 +02:00

19 lines
605 B
Svelte

<script lang="ts">
interface Props {
children?: import('svelte').Snippet
headerAction?: import('svelte').Snippet
}
let { children, headerAction }: Props = $props()
</script>
<!-- Stuck 1px above the scroller's edge rather than at it: at fractional device scale
factors the edge and the header round to different pixels, and rows scrolling
beneath show through the seam. Clipping the header's top row hides it. -->
<thead class="bg-surface-secondary sticky -top-px z-10 border-b">
{@render children?.()}
<tr class="absolute top-2 right-2">
{@render headerAction?.()}
</tr>
</thead>