mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-26 07:36:00 +00:00
fix
This commit is contained in:
@@ -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(
|
export async function openDatabaseObjectDetail(
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
// $: console.log('GRIDER', grider);
|
// $: console.log('GRIDER', grider);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="flexcol flex1" use:contextMenu={menu}>
|
<div class="wrapper" use:contextMenu={menu}>
|
||||||
<div class="toolbar">
|
<div class="toolbar">
|
||||||
<Pager bind:skip bind:limit on:load={() => display.reload()} />
|
<Pager bind:skip bind:limit on:load={() => display.reload()} />
|
||||||
</div>
|
</div>
|
||||||
@@ -86,5 +86,17 @@
|
|||||||
|
|
||||||
.json {
|
.json {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
flex: 1;
|
||||||
|
/* position: relative; */
|
||||||
|
}
|
||||||
|
|
||||||
|
.wrapper {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user