mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 08:56:00 +00:00
sql editor - not working
This commit is contained in:
20
packages/web/src/query/AceEditor.svelte
Normal file
20
packages/web/src/query/AceEditor.svelte
Normal file
@@ -0,0 +1,20 @@
|
||||
<script>
|
||||
import AceEditorCore from './AceEditorCore.svelte';
|
||||
|
||||
let clientWidth;
|
||||
let clientHeight;
|
||||
</script>
|
||||
|
||||
<div bind:clientWidth bind:clientHeight>
|
||||
<AceEditorCore {...$$props} width={clientWidth} height={clientHeight} />
|
||||
</div>
|
||||
|
||||
<style>
|
||||
div {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user