Skip to content

Commit

Permalink
Moved a CSS property out of the building script
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHeadwar committed Aug 29, 2019
1 parent c4f67cf commit 5700f85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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'
Expand Down
1 change: 1 addition & 0 deletions source/css/pdf.css
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ td, th {
}

ul.toc {
white-space: nowrap;
list-style: none;
margin: 0;
padding: 0;
Expand Down

0 comments on commit 5700f85

Please sign in to comment.