Fix overflow not scrolling properly in side panels
This commit is contained in:
parent
0e05c82c8c
commit
091ebe89f5
|
@ -47,9 +47,11 @@
|
||||||
<style>
|
<style>
|
||||||
.design {
|
.design {
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
display: grid;
|
display: flex;
|
||||||
grid-template-columns: auto 1fr;
|
flex-direction: row;
|
||||||
|
justify-content: flex-start;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
|
height: 0;
|
||||||
}
|
}
|
||||||
.icon-nav {
|
.icon-nav {
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
|
@ -60,5 +62,6 @@
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
|
flex: 1 1 auto;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
<script>
|
||||||
|
import NavigationPanel from "components/design/NavigationPanel/NavigationPanel.svelte"
|
||||||
|
import { goto } from "@roxi/routify"
|
||||||
|
import { Layout, Search } from "@budibase/bbui"
|
||||||
|
|
||||||
|
let searchString
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<NavigationPanel
|
||||||
|
title="Components"
|
||||||
|
showAddButton
|
||||||
|
onClickAddButton={() => $goto("./new")}
|
||||||
|
>
|
||||||
|
<Layout paddingX="L" paddingY="XL" gap="S">
|
||||||
|
<Search
|
||||||
|
placeholder="Search"
|
||||||
|
value={searchString}
|
||||||
|
on:change={e => (searchString = e.detail)}
|
||||||
|
/>
|
||||||
|
</Layout>
|
||||||
|
</NavigationPanel>
|
|
@ -0,0 +1,5 @@
|
||||||
|
<script>
|
||||||
|
import SettingsPanel from "components/design/SettingsPanel/SettingsPanel.svelte"
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<SettingsPanel title="Components" />
|
|
@ -0,0 +1,10 @@
|
||||||
|
<script>
|
||||||
|
import { store } from "builderStore"
|
||||||
|
import AppPanel from "components/design/AppPanel/AppPanel.svelte"
|
||||||
|
import ComponentNavigationPanel from "./_components/ComponentNavigationPanel.svelte"
|
||||||
|
import ComponentSettingsPanel from "./_components/ComponentSettingsPanel.svelte"
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<ComponentNavigationPanel />
|
||||||
|
<AppPanel />
|
||||||
|
<ComponentSettingsPanel />
|
|
@ -0,0 +1,21 @@
|
||||||
|
<script>
|
||||||
|
import NavigationPanel from "components/design/NavigationPanel/NavigationPanel.svelte"
|
||||||
|
import { goto } from "@roxi/routify"
|
||||||
|
import { Layout, Search } from "@budibase/bbui"
|
||||||
|
|
||||||
|
let searchString
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<NavigationPanel
|
||||||
|
title="Components"
|
||||||
|
showAddButton
|
||||||
|
onClickAddButton={() => $goto("../new")}
|
||||||
|
>
|
||||||
|
<Layout paddingX="L" paddingY="XL" gap="S">
|
||||||
|
<Search
|
||||||
|
placeholder="Search"
|
||||||
|
value={searchString}
|
||||||
|
on:change={e => (searchString = e.detail)}
|
||||||
|
/>
|
||||||
|
</Layout>
|
||||||
|
</NavigationPanel>
|
Loading…
Reference in New Issue