Skip to content

Commit

Permalink
fix: ensure code elements within links display correct link styling (#…
Browse files Browse the repository at this point in the history
…7339) (#7386)

Co-authored-by: mpruser <mpruser.@gmail.com>
  • Loading branch information
mpruser and mpruser authored Jan 6, 2025
1 parent 6093af9 commit 4b710a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/site/styles/markdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ main {
&:has(code) {
@apply max-xs:decoration-neutral-800
dark:max-xs:decoration-neutral-200;

code {
@apply text-inherit;
}
}
}

Expand Down
1 change: 1 addition & 0 deletions apps/site/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export default {
white: '#FFFFFF',
transparent: 'transparent',
shadow: '#101828',
inherit: 'inherit',
},
fontSize: {
xs: ['0.75rem', '1rem'],
Expand Down

0 comments on commit 4b710a9

Please sign in to comment.