Skip to content

Commit

Permalink
Merge pull request #616 from nature-of-code/code-block-in-table
Browse files Browse the repository at this point in the history
Update in-table code blocks' style
  • Loading branch information
shiffman committed Jan 4, 2024
2 parents f241e69 + fb352be commit 58627ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion magicbook/stylesheets/components/table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ table {
// block level code in table
pre {
background: $color-gray-100;
padding: 4pt 2pt;
border-radius: $rounded-radius-sm;
padding: 8pt;
}
}
1 change: 1 addition & 0 deletions magicbook/stylesheets/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ $color-gray-200: #cccccc;
$color-gray-500: #808080;
$color-gray-800: #333333;
$rounded-radius: 8pt;
$rounded-radius-sm: 4pt;

// Page styles
@import 'page';
Expand Down

0 comments on commit 58627ab

Please sign in to comment.