Skip to content

Commit

Permalink
feat: add titles to buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
HEIGE-PCloud committed Apr 28, 2024
1 parent e859ef4 commit ff05e94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions layouts/_default/_markup/render-codeblock.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
group-[.is-open]:tw-block
group-[.show-line-numbers]:tw-text-fgColor-link
print:!tw-hidden"
aria-label="Toggle line number">
title="Toggle line number">
{{- partial "plugin/fontawesome.html" (dict "Style" "solid" "Icon" "list-ol") -}}
</button>

Expand All @@ -59,7 +59,7 @@
group-[.is-open]:tw-block
group-[.is-wrap]:tw-text-fgColor-link
print:!tw-hidden"
aria-label="Toggle code wrap">
title="Toggle code wrap">
{{- partial "plugin/fontawesome.html" (dict "Style" "solid" "Icon" "bars") -}}
</button>

Expand All @@ -72,7 +72,7 @@
group-[.is-open]:tw-block
hover:tw-text-fgColor-link
print:!tw-hidden"
aria-label="Copy code">
title="Copy code">
<span class="copy-icon tw-block">
{{- partial "plugin/fontawesome.html" (dict "Style" "regular" "Icon" "copy") -}}
</span>
Expand Down

0 comments on commit ff05e94

Please sign in to comment.