Merge pull request #320 from a-dma/fix-pre

Fix <pre> HTML tag to follow theme settings
This commit is contained in:
Djordje Atlialp 2021-08-24 10:23:58 +02:00 committed by GitHub
commit 74b2f0329a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -239,7 +239,14 @@ code {
}
pre {
background: #212020;
[data-theme=dark] & {
background-color: $dark-background-secondary;
}
[data-theme=light] & {
background-color: $light-background-secondary;
}
padding: 10px 10px 10px 20px;
border-radius: 8px;
font-size: 0.95rem;