column manager

This commit is contained in:
Jan Prochazka
2021-03-06 09:31:02 +01:00
parent 8cf014efa4
commit 18e7171038
9 changed files with 148 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
<script lang="ts">
export let width;
</script>
<div style={`max-width: ${width}px`}>
<slot />
</div>
<style>
div {
flex: 1 1;
overflow-y: auto;
overflow-x: auto;
}
</style>