Skip to content

Commit 7630401

Browse files
committed
Cleanup html settings menu
1 parent 374f71e commit 7630401

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

InteractiveHtmlBom/web/ibom.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,14 @@
5151
<div class="hideonprint menu" style="float: right; top: 8px;">
5252
<button class="menubtn"></button>
5353
<div class="menu-content">
54-
<label class="menu-label menu-label-top">
54+
<label class="menu-label menu-label-top" style="width: calc(50% - 18px)">
5555
<input id="darkmodeCheckbox" type="checkbox" onchange="setDarkMode(this.checked)">
5656
Dark mode
57-
</label>
58-
<label class="menu-label">
57+
</label><!-- This comment eats space! All of it!
58+
--><label class="menu-label menu-label-top" style="width: calc(50% - 17px); border-left: 0;">
5959
<input id="fullscreenCheckbox" type="checkbox" onchange="setFullscreen(this.checked)">
6060
Full Screen
6161
</label>
62-
<label class="menu-label">
63-
<input id="padsCheckbox" type="checkbox" checked onchange="padsVisible(this.checked)">
64-
Show footprint pads
65-
</label>
6662
<label class="menu-label" style="width: calc(50% - 18px)">
6763
<input id="fabricationCheckbox" type="checkbox" checked onchange="fabricationVisible(this.checked)">
6864
Fab layer
@@ -89,9 +85,13 @@
8985
Zones
9086
</label>
9187
</div>
92-
<label class="menu-label">
88+
<label class="menu-label" style="width: calc(50% - 18px)">
89+
<input id="padsCheckbox" type="checkbox" checked onchange="padsVisible(this.checked)">
90+
Pads
91+
</label><!-- This comment eats space! All of it!
92+
--><label class="menu-label" style="width: calc(50% - 17px); border-left: 0;">
9393
<input id="dnpOutlineCheckbox" type="checkbox" checked onchange="dnpOutline(this.checked)">
94-
DNP components outlined
94+
DNP outlined
9595
</label>
9696
<label class="menu-label">
9797
<input id="highlightpin1Checkbox" type="checkbox" onchange="setHighlightPin1(this.checked)">

0 commit comments

Comments
 (0)