1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-07-17 21:44:05 +00:00

Fixed layout and overflow

This commit is contained in:
2023-01-17 16:22:49 +01:00
parent 1d200db534
commit 928b4d229c
6 changed files with 24 additions and 8 deletions

View File

@ -29,7 +29,9 @@
<button class="btn">Create&hellip;</button>
</div>
<ObjectGrid key="name" data={indexes} bind:activeKey on:trigger={e => openJson(e.detail)} />
<div class="grid">
<ObjectGrid key="name" data={indexes} bind:activeKey on:trigger={e => openJson(e.detail)} />
</div>
</div>
<CodeViewer bind:code={json} language="json" />
@ -40,4 +42,10 @@
gap: 0.5rem;
grid-template: auto 1fr / 1fr;
}
.indexes .grid {
min-height: 0;
min-width: 0;
border: 1px solid #ccc;
}
</style>