Skip to content

Commit 42d21c8

Browse files
committed
Ensure top bar stays on top of drawflow canvas
1 parent 17aa210 commit 42d21c8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<style>
2424
#drawflow {
2525
width: 100%;
26-
height: 100vh;
26+
margin-top: 40px;
2727
top: 0;
2828
}
2929
:root {
@@ -62,6 +62,11 @@
6262
.top-menu {
6363
padding: 10px;
6464
font-size: small;
65+
position: fixed;
66+
top: 0;
67+
left: 0;
68+
right: 0;
69+
z-index: 1000;
6570
}
6671
.spanBtn {
6772
cursor: pointer;

0 commit comments

Comments
 (0)