1
0
Fork 0

wip(shared): more workbench updates

This commit is contained in:
joostdecock 2023-05-18 14:32:29 +02:00
parent e4850ca908
commit 8eed5e17eb
5 changed files with 59 additions and 61 deletions

View file

@ -14,12 +14,11 @@ export const DraftView = ({
language,
account,
}) => (
<div className="flex flex-row items-top">
<div className="w-2/3 shrink-0 grow lg:p-4">
<div className="flex flex-row items-tope">
<div className="w-2/3 shrink-0 grow lg:p-4 sticky top-0">
<Pattern {...{ pattern, setView, settings, ui, update }} />
<pre>{JSON.stringify(settings, null, 2)}</pre>
</div>
<div className="w-1/3 shrink grow-0 lg:p-4 max-w-2xl">
<div className="w-1/3 shrink grow-0 lg:p-4 max-w-2xl h-screen overflow-scroll">
<DraftMenu {...{ design, pattern, patternConfig, settings, ui, update, language, account }} />
</div>
</div>