Skip to content

Commit 2ebe538

Browse files
committed
a bit of layout cleaning for the editor
1 parent 5780075 commit 2ebe538

File tree

2 files changed

+16
-7
lines changed

2 files changed

+16
-7
lines changed

public/editor.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,22 @@
2424
}
2525
}
2626

27+
.panel-editor {
28+
display: flex;
29+
flex-direction: column;
30+
31+
p {
32+
flex-grow: 0;
33+
flex-shrink: 0;
34+
}
35+
}
2736

2837
.editor {
2938
#editor {
30-
height: 100%;
3139
min-height: 50vh;
3240
width: 100%;
41+
flex-grow: 1;
42+
flex-shrink: 1;
3343

3444
border: 1px solid #ccc;
3545
}

public/index.html

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<script>
66
new EventSource('/esbuild').addEventListener('change', () => location.reload());
77
</script>
8-
8+
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ctext y='0.9em' font-size='90'%3E🌿%3C/text%3E%3C/svg%3E">
99
<link type="text/css" rel="stylesheet" href="web.css">
1010
<link type="text/css" rel="stylesheet" href="editor.css">
1111

@@ -22,11 +22,6 @@
2222
<a href="?load=pinouts/a4988.yaml">A4988 Motor Driver</a>
2323
</p>
2424

25-
<p>
26-
When you create the pinout for a new commonly available PCB please submit a pull request or issue, so
27-
it can be added to the list of available pinouts.
28-
</p>
29-
3025
<p>
3126
<a href="https://github.com/splitbrain/pinoutleaf?tab=readme-ov-file#configuration-syntax">Read the docs</a>
3227
for more info on available config options.
@@ -39,5 +34,9 @@
3934
</div>
4035
</div>
4136

37+
38+
<p>
39+
<small>A tool made by <a href="https://www.splitbrain.org">splitbrain</a></small>
40+
</p>
4241
</body>
4342
</html>

0 commit comments

Comments
 (0)