Skip to content

Commit 5e95601

Browse files
authored
Merge pull request docbook#544 from ndw/iss-543
(Re)fix persistent ToC, release 2.4.1
2 parents fc73f80 + 792c401 commit 5e95601

File tree

3 files changed

+22
-4
lines changed

3 files changed

+22
-4
lines changed

properties.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
ext {
33
xslTNGtitle = 'DocBook xslTNG'
44
xslTNGbaseName = 'docbook-xslTNG'
5-
xslTNGversion = '2.4.0'
6-
guideVersion = '2.4.0'
5+
xslTNGversion = '2.4.1'
6+
guideVersion = '2.4.1'
77
guidePrerelease = false
88

99
docbookVersion = '5.2'

src/guide/xml/changelog.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,23 @@ be of interest to users of the stylesheets. See the commits and pull requests on
1010
<link xlink:href="https://github.com/docbook/xslTNG/">the repository</link> for
1111
finer detail.</para>
1212

13+
<section xml:id="r241">
14+
<info>
15+
<title>Changes in version 2.4.1</title>
16+
<productnumber>2.4.1</productnumber>
17+
<date>2024-10-26</date>
18+
</info>
19+
<itemizedlist>
20+
<listitem>
21+
<para>A recent fix for bottom-of-page navigation links broke the persistent ToC
22+
navigation link. This release fixes <emphasis>both</emphasis> of those problems
23+
simultaneously;
24+
fixed <link xlink:href="https://github.com/docbook/xslTNG/issues/543">#543</link>.
25+
</para>
26+
</listitem>
27+
</itemizedlist>
28+
</section>
29+
1330
<section xml:id="r240">
1431
<info>
1532
<title>Changes in version 2.4.0</title>

src/main/scss/media-screen.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
--js-controls-header-separator-border-style: 1px solid var(--popup-annotation-border-color);
1616
--js-controls-color: var(--surface-color);
1717
--on-js-controls-color: var(--on-surface-color);
18+
--z-index-on-top-of-the-world: 100;
1819
}
1920

2021
html {
@@ -189,7 +190,7 @@ nav table td.next {
189190

190191
nav.bottom {
191192
background-color: var(--nav-background-color);
192-
z-index: 5;
193+
z-index: var(--z-index-on-top-of-the-world);
193194
}
194195

195196
nav.bottom table {
@@ -216,7 +217,7 @@ nav.top {
216217
but it also interacts with the persistent ToC which must
217218
go over it. If you're thinking of changing this, think
218219
of changing js/persistent-toc.js as well. */
219-
z-index: 100;
220+
z-index: var(--z-index-on-top-of-the-world);
220221
}
221222

222223
body.home nav.top {

0 commit comments

Comments
 (0)