This commit is contained in:
Jan Prochazka 2021-04-08 10:52:10 +02:00
parent 007b40bf9b
commit 3b047dbe6d
2 changed files with 30 additions and 1 deletions

View File

@ -186,6 +186,23 @@
},
},
],
collections: [
{
label: 'Open data',
tab: 'CollectionDataTab',
forceNewTab: true,
},
{
label: 'Open JSON',
tab: 'CollectionDataTab',
forceNewTab: true,
initialData: {
grid: {
isJsonView: true,
},
},
},
],
};
export async function openDatabaseObjectDetail(

View File

@ -60,7 +60,7 @@
// $: console.log('GRIDER', grider);
</script>
<div class="flexcol flex1" use:contextMenu={menu}>
<div class="wrapper" use:contextMenu={menu}>
<div class="toolbar">
<Pager bind:skip bind:limit on:load={() => display.reload()} />
</div>
@ -86,5 +86,17 @@
.json {
overflow: auto;
flex: 1;
/* position: relative; */
}
.wrapper {
display: flex;
flex-direction: column;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
}
</style>