Skip to content

Commit cef7b05

Browse files
authored
fix: Don't change text color on hover for badge links (ietf-tools#3845)
1 parent aba2aa2 commit cef7b05

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

ietf/templates/doc/document_draft.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@
5050
(Publication date unknown)
5151
{% endif %}
5252
{% if has_verified_errata %}
53-
<a class="badge bg-danger text-decoration-none"
53+
<a class="badge bg-danger text-decoration-none text-light"
5454
href="https://www.rfc-editor.org/errata_search.php?rfc={{ doc.rfc_number }}" title="Click to view errata." rel="nofollow">
5555
Errata
5656
</a>
5757
{% elif has_errata %}
58-
<a class="badge bg-warning text-decoration-none"
58+
<a class="badge bg-warning text-decoration-none text-light"
5959
href="https://www.rfc-editor.org/errata_search.php?rfc={{ doc.rfc_number }}" title="Click to view errata." rel="nofollow">
6060
Errata
6161
</a>

ietf/templates/doc/search/search_result_row.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@
8989
{% endcomment %}
9090
<b>{{ doc.title }}</b>
9191
{% if doc.has_verified_errata %}
92-
<a class="badge bg-danger text-decoration-none float-end"
92+
<a class="badge bg-danger text-decoration-none text-light float-end"
9393
href="https://www.rfc-editor.org/errata_search.php?rfc={{ doc.rfc_number }}">
9494
Errata
9595
</a>
9696
{% elif doc.has_errata %}
97-
<a class="badge bg-warning text-decoration-none float-end"
97+
<a class="badge bg-warning text-decoration-none text-light float-end"
9898
href="https://www.rfc-editor.org/errata_search.php?rfc={{ doc.rfc_number }}">
9999
Errata
100100
</a>
@@ -160,4 +160,4 @@
160160
<td {% if pos %}class="changebar position-{{ pos.slug }}"{% endif %}></td>
161161
{% endwith %}
162162
{% endif %}
163-
</tr>
163+
</tr>

0 commit comments

Comments
 (0)