Skip to content

Commit

Permalink
fix: styling conflict for code tags in li elements (getzola#2273)
Browse files Browse the repository at this point in the history
  • Loading branch information
welpo authored and selfisekai committed Nov 3, 2023
1 parent 3f2a65e commit 5869195
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ pre table td:nth-of-type(1) {
user-select: none;
}

p code, li code {
p code, li code:not(pre code) {
background-color: #f5f5f5;
white-space: pre-wrap;
padding: 5px;
border-radius: 5px;
font-size: 0.85rem;
box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 1px rgba(0,0,0,.1), 0 2px 1px -1px rgba(0,0,0,.12);
}
}

0 comments on commit 5869195

Please sign in to comment.