mirror of
https://github.com/getzola/zola
synced 2024-11-10 06:14:19 +00:00
fix: styling conflict for code tags in li elements (#2273)
This commit is contained in:
parent
695c17d222
commit
74056d15ab
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue