1
0
Fork 0
mirror of synced 2024-09-18 18:28:33 +12:00

Fix overflow not scrolling properly in side panels

This commit is contained in:
Andrew Kingston 2022-04-26 07:41:58 +01:00
parent 0e05c82c8c
commit 091ebe89f5
9 changed files with 62 additions and 2 deletions

View file

@ -47,9 +47,11 @@
<style>
.design {
flex: 1 1 auto;
display: grid;
grid-template-columns: auto 1fr;
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: stretch;
height: 0;
}
.icon-nav {
background: var(--background);
@ -60,5 +62,6 @@
flex-direction: row;
justify-content: flex-start;
align-items: stretch;
flex: 1 1 auto;
}
</style>

View file

@ -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>

View file

@ -0,0 +1,5 @@
<script>
import SettingsPanel from "components/design/SettingsPanel/SettingsPanel.svelte"
</script>
<SettingsPanel title="Components" />

View file

@ -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 />

View file

@ -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>