mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 09:36:01 +00:00
column manager
This commit is contained in:
15
packages/web/src/elements/ManagerInnerContainer.svelte
Normal file
15
packages/web/src/elements/ManagerInnerContainer.svelte
Normal 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>
|
||||
Reference in New Issue
Block a user