Skip to content

Commit 0a63e7f

Browse files
erdnaxeburrbull
authored andcommitted
html/template.html: use text-success rather than extra span
1 parent 3e405dd commit 0a63e7f

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/html/template.html

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828
.vertical div {
2929
writing-mode: vertical-lr;
3030
}
31-
.doccol {
32-
color: rgb(92, 184, 92);
33-
}
3431
.headerlink {
3532
font-size: 50%;
3633
}
@@ -192,10 +189,8 @@ <h4 id="{{ pname }}:{{ register.name }}">
192189
{%- for field in row.fields %}
193190
<td colspan="{{ field.width }}"{% if field.separated %} class="separated"{% endif %}>
194191
{%- if field.name %}
195-
<a class="fieldlink" href="#{{ pname }}:{{ register.name }}:{{ field.name }}">
196-
<span{% if field.doc %} class="doccol"{%- endif %}>
197-
{{ field.name }}
198-
</span>
192+
<a class="fieldlink{% if field.doc %} text-success{% endif %}" href="#{{ pname }}:{{ register.name }}:{{ field.name }}">
193+
{{ field.name }}
199194
</a>
200195
<br>
201196
{{ field.access }}

0 commit comments

Comments
 (0)