]> Shamusworld >> Repos - ardour-manual/commitdiff
Moved a CSS property out of the building script
authorEd Ward <edwsaintesprit@hotmail.com>
Thu, 29 Aug 2019 12:02:14 +0000 (14:02 +0200)
committerEd Ward <edwsaintesprit@hotmail.com>
Thu, 29 Aug 2019 12:02:14 +0000 (14:02 +0200)
build.py
source/css/pdf.css

index 19cf37b984c9c7634f4273d151f94b478e350cc9..dea075bcf0b5f08065603ad8c404bdddb52d817f 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -353,7 +353,7 @@ def BuildList(lst, fs, pagePos, cList):
 #
 def BuildOnePageSidebar(fs):
 
-       content = '\n\n<ul class="toc" style="white-space:nowrap;">\n'
+       content = '\n\n<ul class="toc">\n'
        lvl = 0
        levelNums = [0]*3
 
@@ -377,7 +377,7 @@ def BuildOnePageSidebar(fs):
                        anchor = fs[i]['filename']
 
                while lvl < level:
-                       content = content + '<ul style="white-space:nowrap;">\n'
+                       content = content + '<ul class="toc">\n'
                        lvl = lvl + 1
                while lvl > level:
                        content = content + '</ul>\n'
index 927b38656b5aa6a8a8952ac3eff114f8fed5d3dd..5756d56290947e88dfbe281c864aa56940c9c73d 100644 (file)
@@ -146,6 +146,7 @@ td, th {
 }
 
 ul.toc {
+       white-space: nowrap;
        list-style: none;
        margin: 0;
        padding: 0;