fix: styling conflict for code tags in li elements (#2273)

This commit is contained in:
Óscar 2023-08-15 21:49:45 +02:00 committed by GitHub
parent 695c17d222
commit 74056d15ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
}