Skip to content

Commit

Permalink
remove padding in code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
twobiers committed Sep 28, 2024
1 parent ab794c8 commit 39ac2b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ I don't like the ticks around inline code, so I remove them
padding-right: 1ch;
}

/* ugly workaround, because I'm too stupid to fix the selector above */
.prose :where(pre code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
padding: 0 !important;
}
#sec-random-pages article ul {
list-style-type: none;
padding: 0;
Expand Down

0 comments on commit 39ac2b3

Please sign in to comment.