Docs browser now renders better.

main
Zed A. Shaw 1 year ago
parent 28cfe55921
commit a0c342d131
  1. 19
      admin/pages/DocsBrowser.svelte
  2. 1
      static/blockstart.css

@ -41,11 +41,26 @@
<style>
sidebar {
max-width: 300px;
min-height: 100vh;
height: 100vh;
max-height: 100vh;
margin: unset;
}
sidebar items {
overflow-y: auto;
}
#content {
min-height: 100vh;
height: 100vh;
max-height: 100vh;
overflow-y: auto;
}
</style>
<Layout centered={ true } fullwidth={ true }>
<Layout footer={ false} header={ false } centered={ true } fullscreen={ true }>
<Blockstart>
<block class="horizontal">
<sidebar>
@ -57,7 +72,7 @@
</items>
</sidebar>
<right style="--pad: 0.5rem;">
<right id="content" style="--pad: 0.5rem;">
{#if docs_data}
{#each docs_data.exports as exp}
<h1>{ url }</h1>

@ -65,7 +65,6 @@ blockstart block > * {
justify-content: var(--spacing);
align-self: stretch;
flex-direction: column;
margin: 2px;
width: var(--w);
min-width: var(--w);
max-width: var(--w);

Loading…
Cancel
Save