Docs browser now renders better.

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

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

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

Loading…
Cancel
Save