Skip to content

Commit

Permalink
fix code elements
Browse files Browse the repository at this point in the history
  • Loading branch information
Adammatthiesen committed Nov 20, 2024
1 parent 605d2a9 commit 08984bf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/twoslash/src/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,10 @@ export function getTwoSlashBaseStyles({ cssVar }: ResolverContext): string {
line-height: 1 !important;
}
.twoslash-popup-docs-tag-value code {
.twoslash-popup-docs-tag-value code,
.twoslash-popup-docs > p > code,
.twoslash-popup-docs > p > a > code,
.twoslash-popup-docs > ul > li > code {
border: 1px solid ${cssVar("twoSlash.borderColor")};
border-radius: 4px;
}
Expand Down

0 comments on commit 08984bf

Please sign in to comment.