Tweak layout css

This commit is contained in:
Jon Staab
2025-03-19 10:30:36 -07:00
parent d94860014c
commit ad034b1641
12 changed files with 410 additions and 368 deletions
+18
View File
@@ -0,0 +1,18 @@
<script lang="ts">
import type {Snippet} from "svelte"
interface Props {
element?: Element
children?: Snippet
[key: string]: any
}
let {children, element = $bindable(), ...props}: Props = $props()
</script>
<div
{...props}
bind:this={element}
class="scroll-container saib cw fixed top-12 h-[calc(100%-6.5rem)] overflow-y-auto overflow-x-hidden md:h-[calc(100%-3rem)] {props.class}">
{@render children?.()}
</div>