<!--
Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
<script lang="typescript">
    export let id: string | undefined;
    let className: string | undefined;
    export { className as class };
</script>

<style lang="scss">
    nav {
        display: flex;
        flex-wrap: wrap;

        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10;

        background: var(--window-bg);
        border-bottom: 1px solid var(--border);
    }
</style>

<nav {id} class="pb-1 {className}">
    <slot />
</nav>
