Skip to content

Commit 4b710a9

Browse files
mprusermpruser
andauthored
fix: ensure code elements within links display correct link styling (#7339) (#7386)
Co-authored-by: mpruser <[email protected]>
1 parent 6093af9 commit 4b710a9

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

apps/site/styles/markdown.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ main {
9393
&:has(code) {
9494
@apply max-xs:decoration-neutral-800
9595
dark:max-xs:decoration-neutral-200;
96+
97+
code {
98+
@apply text-inherit;
99+
}
96100
}
97101
}
98102

apps/site/tailwind.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ export default {
9999
white: '#FFFFFF',
100100
transparent: 'transparent',
101101
shadow: '#101828',
102+
inherit: 'inherit',
102103
},
103104
fontSize: {
104105
xs: ['0.75rem', '1rem'],

0 commit comments

Comments
 (0)