Update datasource navigation to use new full width nav items

This commit is contained in:
Andrew Kingston 2022-03-21 15:47:49 +00:00
parent 82898d6b68
commit 278c4932aa
2 changed files with 3 additions and 9 deletions

View File

@ -110,7 +110,7 @@
</script>
{#if $database?._id}
<div class="hierarchy-items-container">
<div class="container">
{#each enrichedDataSources as datasource, idx}
<NavItem
border={idx > 0}

View File

@ -23,10 +23,8 @@
<div class="nav">
<Tabs {selected} on:select={selectFirstDatasource}>
<Tab title="Sources">
<div class="tab-content-padding">
<DatasourceNavigator />
<CreateDatasourceModal bind:modal />
</div>
<DatasourceNavigator />
<CreateDatasourceModal bind:modal />
</Tab>
</Tabs>
<div
@ -63,10 +61,6 @@
display: contents;
}
.tab-content-padding {
padding: 0 var(--spacing-xl);
}
.nav {
overflow-y: auto;
background: var(--background);