Skip to content

Commit 99f2778

Browse files
authored
Avoid link-color on buttons
1 parent 31f9e1d commit 99f2778

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xsl/utility-classes.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@
681681

682682
<!-- Add a Bootstrap Link CSS color to xrefs and links -->
683683
<xsl:template
684-
match="*[contains(@class, ' topic/xref ') or contains(@class, ' topic/link ')][@color]"
684+
match="*[contains(@class, ' topic/xref ') or contains(@class, ' topic/link ')][@color][not(contains(@class, ' bootstrap-d/button '))][not(contains(@outputclass, 'btn-'))]"
685685
mode="get-output-class"
686686
>
687687
<xsl:text>link-</xsl:text>

0 commit comments

Comments
 (0)