Skip to content

Commit

Permalink
Add changeset (#727)
Browse files Browse the repository at this point in the history
* Remove null check, we'd rather it fails if theme is wonky

* Add changeset
  • Loading branch information
dipree authored Apr 22, 2024
1 parent 5fe6bf8 commit 0798937
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/fresh-yaks-battle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/gatsby-theme-doctocat': minor
---

Add optional tracking option to head
10 changes: 5 additions & 5 deletions theme/src/components/live-code.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,15 @@ function LiveCode({code, language, highlight, noinline, metastring}) {
onChange={handleChange}
theme={githubTheme}
ignoreTabKey={true}
padding={theme?.space[3]}
padding={theme.space[3]}
style={{
fontFamily: theme?.fonts.mono,
fontFamily: theme.fonts.mono,
fontSize: '85%',
borderBottomLeftRadius: theme?.radii[2],
borderBottomRightRadius: theme?.radii[2],
borderBottomLeftRadius: theme.radii[2],
borderBottomRightRadius: theme.radii[2],
border: '1px solid',
borderTop: 0,
borderColor: theme?.colors.border.default,
borderColor: theme.colors.border.default,
}}
/>
</LineHighlighter>
Expand Down

0 comments on commit 0798937

Please sign in to comment.