Skip to content

Commit

Permalink
Fix display of filenames with initial/consecutive/final whitespace. F…
Browse files Browse the repository at this point in the history
…ix generated-index renaming thereof
  • Loading branch information
nabijaczleweli committed Sep 23, 2024
1 parent f5faae4 commit d585419
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/directory_listing.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
border-collapse: collapse;
}

td:nth-child(2) {
white-space: pre-wrap;
}

td:nth-child(2), td:nth-child(3) {
padding-right: 5pt;
}
Expand Down
4 changes: 4 additions & 0 deletions assets/directory_listing_mobile.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
text-decoration: none;
}

div:nth-child(1) {
white-space: pre-wrap;
}

span {
overflow-wrap: break-word;
word-wrap: break-word;
Expand Down

0 comments on commit d585419

Please sign in to comment.