Skip to content

Commit

Permalink
💄 style: Fix inline code style
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Nov 30, 2023
1 parent 15c970f commit 5a378cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/styles/theme/customStylish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,13 @@ export const generateCustomStylish: GetCustomStylish<LobeCustomStylish> = ({
> code {
padding: 0 !important;
background: unset !important;
border: none !important;
border-radius: unset !important;
}
}
> :not([data-code-type='highlighter']) code {
*:not([data-code-type='highlighter'], pre) code {
padding: 2px 6px;
font-size: ${token.fontSizeSM}px;
Expand Down

0 comments on commit 5a378cc

Please sign in to comment.