Skip to content

Commit

Permalink
ENH Styling for api links contains backticks
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Feb 8, 2023
1 parent b1db62f commit 3c48b1a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions gatsby-ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,19 @@ exports.onRenderBody = ({ setPostBodyComponents, setHeadComponents, pathname })
margin: 2rem 0;
}
`
}} />,
// this is being done as a quick work around as there's issues when building css
<style type="text/css" dangerouslySetInnerHTML={{
__html: `
.api-link code {
text-decoration: underline;
color: #5d6778;
}
.api-link code:hover,
.api-link code:active {
text-decoration: none;
}
`
}} />
]);
setPostBodyComponents([
Expand Down

0 comments on commit 3c48b1a

Please sign in to comment.