Skip to content

Commit 9ff85f1

Browse files
committed
html/template.html: fix nav.menu CSS
1 parent 6626be5 commit 9ff85f1

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

src/html/template.html

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,15 @@
3535
font-size: 50%;
3636
}
3737
nav.menu {
38-
line-height: 2
38+
margin: 1rem 0;
3939
}
4040
nav.menu a {
41-
display: block-inline;
42-
border-radius: 5px;
41+
display: inline-block;
42+
border-radius: 3px;
4343
border: solid 1px #ccc;
44-
padding: 3pt;
44+
padding: 0.3rem;
45+
margin: 0.1rem;
46+
text-decoration: none;
4547
}
4648
.bitfield td.separated {
4749
background-color:#eee;
@@ -86,11 +88,6 @@
8688
</div>
8789
</div>
8890
</div>
89-
<div class="row">
90-
<div class="col-sm-1"></div>
91-
<div class="col-sm-9">
92-
</div>
93-
</div>
9491
<nav class="menu">
9592
{% for peripheral in device.peripherals %}
9693
<a href="#{{ peripheral.name }}">{{ peripheral.name }}</a>

0 commit comments

Comments
 (0)