styling: improve codeeditor component styling

This commit is contained in:
SethBurkart123
2024-03-31 12:02:46 +11:00
parent 08b7698093
commit 806d2419cb
4 changed files with 35 additions and 22 deletions
+5 -2
View File
@@ -7,8 +7,11 @@ export default function ThemeCreator() {
}
return (
<div className='w-full h-full'>
<CodeEditor initialState={'.hi {}'} callback={handleSave} />
<div className='w-full h-[100vh] bg-zinc-100 dark:bg-zinc-800'>
<div className='p-2'>
<CodeEditor height='100px' initialState={'.exampleCode {}'} callback={handleSave} />
</div>
</div>
);
}