backend - child panes scrollable
This commit is contained in:
parent
dafef90c3d
commit
43522aad22
|
@ -15,7 +15,7 @@
|
|||
<div class="nav">
|
||||
<BackendNav />
|
||||
</div>
|
||||
<div class="content" style="width: calc(100% - {navWidth}); left: {navWidth}">
|
||||
<div class="content">
|
||||
{#if $store.activeNav === 'database'}
|
||||
<Database />
|
||||
{:else if $store.activeNav === 'actions'}
|
||||
|
@ -37,9 +37,12 @@
|
|||
height: 100%;
|
||||
background-color: var(--white);
|
||||
margin: 0;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.nav {
|
||||
overflow: auto;
|
||||
flex: 0 1 auto;
|
||||
width: 300px;
|
||||
height: 100%;
|
||||
|
|
|
@ -60,12 +60,14 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
border-bottom: 1px solid #ddd;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.content {
|
||||
flex: 1 1 auto;
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.content > div {
|
||||
|
|
Loading…
Reference in New Issue