Skip to content

Commit cdb902a

Browse files
committed
fix: padding for editor
1 parent a13bbfa commit cdb902a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/dbml-playground/src/components/DbmlEditorPane/DbmlEditorPane.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<pane min-size='75' max-size='75' size='75'>
33
<slot>
44
<Editor
5-
class='h-full overflow-auto border rounded border-gray-300 flex flex-col'
5+
class='h-full bg-white overflow-auto border rounded border-gray-300 flex flex-col'
66
@source-change='(newSource) => compiler.setSource(newSource)'
77
/>
88
</slot>

packages/dbml-playground/src/components/DbmlEditorPane/Editor/Editor.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div ref='editorDomNode' class='w-full h-full'></div>
2+
<div ref='editorDomNode' class='w-full h-full p-1'></div>
33
</template>
44

55
<script setup lang="ts">

0 commit comments

Comments
 (0)