Skip to content

Commit

Permalink
💄 Tweak code block styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Nismit committed Jul 9, 2022
1 parent c813801 commit 43a7515
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/Content/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ const ExampleContent = () => (
住みにくさが高じると、安い所へ引き越したくなる。どこへ越しても住みにくいと悟った時、詩が生れて、画が出来る。
</p>
</blockquote>
<p>Code Block</p>
<pre>
<code>
{`#define RGBLED_NUM 54
#undef RGBLED_SPLIT
#define RGBLED_SPLIT { 27, 27 }`}
</code>
</pre>
</>
);

Expand Down
1 change: 1 addition & 0 deletions src/components/Content/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ const _Content = styled.section`
border-radius: 5px;
> code {
margin: 0;
padding: 0;
font-size: 100%;
background-color: transparent;
Expand Down

0 comments on commit 43a7515

Please sign in to comment.