opnsense connections page ui improvements

This commit is contained in:
2024-11-02 01:53:11 -07:00
parent 922e4c0580
commit d526839bfa
13 changed files with 244 additions and 34 deletions

View File

@@ -0,0 +1,18 @@
<script lang="ts">
import type { HTMLTdAttributes } from "svelte/elements";
import { cn } from "$lib/utils.js";
type $$Props = HTMLTdAttributes;
let className: $$Props["class"] = undefined;
export { className as class };
</script>
<td
class={cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className)}
{...$$restProps}
on:click
on:keydown
>
<slot />
</td>