Skip to content

Commit

Permalink
move highlight tools above page index
Browse files Browse the repository at this point in the history
  • Loading branch information
respinos committed Sep 19, 2023
1 parent 945cb49 commit 478bf91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/text/qbat/qbat.text.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@

<div class="[ aside ]">
<nav class="[ page-index ]" xx-aria-labelledby="page-index-label">
<h2 id="page-index-label" class="[ subtle-heading ][ text-black js-toc-ignore ]">Page Index</h2>
<div class="toc js-toc"></div>
<xsl:if test="count($highlights) &gt; 0">
<div class="higlight-tools flex flex-flow-column gap-0_5 mt-2">
<div class="higlight-tools flex flex-flow-column gap-0_5 mb-1">
<a href="#hl{$highlight-seq-first}" class="button button--ghost">First matched term</a>
<button id="action-toggle-highlight" class="button button--ghost">
<span class="material-icons" aria-hidden="true">visibility</span>
<span>Turn highlights off</span>
</button>
</div>
</xsl:if>
<h2 id="page-index-label" class="[ subtle-heading ][ text-black js-toc-ignore ]">Page Index</h2>
<div class="toc js-toc"></div>
<select id="action-page-index"></select>
</nav>
</div>
Expand Down

0 comments on commit 478bf91

Please sign in to comment.