Skip to content

Commit

Permalink
fix: unwanted background color in .prose pre>code
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Dec 24, 2023
1 parent 0f37007 commit 5d6daf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/styled/typography.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
--tw-prose-td-borders: theme(colors.base-content/0.2);
}
.prose {
& :where(code):not(:where([class~="not-prose"] *)) {
& :where(code):not(:where([class~="not-prose"] *, pre *)) {
padding: 1px 8px;
border-radius: var(--rounded-badge);
background-color: theme(colors.base-content/0.1);
Expand Down

0 comments on commit 5d6daf3

Please sign in to comment.