Skip to content

Commit

Permalink
Merge pull request #1216 from CleverCloud/storybook/fix-code-styles-w…
Browse files Browse the repository at this point in the history
…ithin-docs-pages

chore(storybook): enforce `monospace` font-family for `<code>` elements
  • Loading branch information
florian-sanders-cc authored Oct 22, 2024
2 parents d8cd5ce + 9858db7 commit e9575fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .storybook/preview-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

body,
/* we need high specifity selectors to be able to override the autogenerated docs font settings */
.sbdocs *:where(:not(pre *)) {
.sbdocs *:where(:not(pre *):not(code)) {
font-family: 'Liberation Sans', 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

Expand Down

0 comments on commit e9575fb

Please sign in to comment.