Skip to content

Commit

Permalink
book.scss: limit table styling only to .book class
Browse files Browse the repository at this point in the history
book.scss should only style inside the .book class.
  • Loading branch information
To1ne committed Oct 1, 2024
1 parent 58628f3 commit 99d1c9c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions assets/sass/book.scss
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ ol.book-toc {
padding: 5px;
}

.book table.ref th:nth-child(1), td:nth-child(1) {
.book table.ref th:nth-child(1),
.book td:nth-child(1) {
width: 25%;
padding: 5px;
}
Expand Down Expand Up @@ -170,4 +171,4 @@ ol.book-toc {
.book-wrapper {
margin-right: 0;
}
}
}

0 comments on commit 99d1c9c

Please sign in to comment.