Skip to content

Commit b615201

Browse files
committed
tweak example app
1 parent 53c4d49 commit b615201

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

dev/App.module.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
}
66

77
.block {
8+
display: flex;
9+
flex-direction: column;
10+
gap: 6px;
811
padding: 10px;
912
background: white;
1013
border: 1px solid #bbb;
@@ -20,4 +23,4 @@
2023
padding: 10px;
2124
font-size: 14px;
2225
text-align: center;
23-
}
26+
}

dev/App.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,9 @@ const App: Component = () => {
6262
draggable={true}
6363
onDragStart={block.startDrag}
6464
>
65-
{block.data}
66-
<div style={{ height: '10px' }} />
65+
<div>{block.data}</div>
6766
{block.children}
68-
Footer
67+
<div>Footer</div>
6968
</div>
7069
)}
7170
</BlockTree>

0 commit comments

Comments
 (0)