Browse Source

scrollable ui

- the entire width of the ui is now scrollable
gh-pages
Joe 6 years ago
parent
commit
ddbb3e287c
  1. 15
      packages/builder/src/pages/[application]/data/datasource/[selectedDatasource]/[query]/index.svelte

15
packages/builder/src/pages/[application]/data/datasource/[selectedDatasource]/[query]/index.svelte

@ -28,19 +28,24 @@
</script>
<section>
{#if $backendUiStore.selectedDatabase._id && selectedQuery}
<QueryInterface query={selectedQuery} />
{/if}
<div class="inner">
{#if $backendUiStore.selectedDatabase._id && selectedQuery}
<QueryInterface query={selectedQuery} />
{/if}
</div>
</section>
<style>
section {
overflow: scroll;
width: 640px;
margin: 0 auto;
}
::-webkit-scrollbar {
width: 0px;
background: transparent; /* make scrollbar transparent */
}
.inner {
width: 640px;
margin: 0 auto;
}
</style>

Loading…
Cancel
Save