connections UX WIP

This commit is contained in:
SPRINX0\prochazka
2024-11-25 16:34:09 +01:00
parent dfdb86de6f
commit e06d964de4
7 changed files with 61 additions and 13 deletions

View File

@@ -1,12 +1,14 @@
<script lang="ts">
let domDiv;
export let hideContent = false;
export function scrollTop() {
domDiv.scrollTop = 0;
}
</script>
<div on:drop bind:this={domDiv}><slot /></div>
<div on:drop bind:this={domDiv} class:hideContent><slot /></div>
<style>
div {
@@ -15,4 +17,8 @@
overflow-y: auto;
width: var(--dim-left-panel-width);
}
.hideContent {
visibility: hidden;
}
</style>