mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
fix
This commit is contained in:
parent
007b40bf9b
commit
3b047dbe6d
@ -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(
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user