Skip to content

Commit

Permalink
Add border stroke to code block (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbadea-heits authored Oct 20, 2023
1 parent 1adda0c commit d1542c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ breaking changes to the options supported by the plugin will be shipped as a bre

## Unreleased changes

- (minor) Add border to code block
<!--
All changes being submitted through PRs should be added to this section.
Please add a new list item to the top of this section with a summary of the change.
Expand Down
1 change: 1 addition & 0 deletions styles/_code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ pre {
@include code-block-theme($code-background-dark, $code-text-dark);

border-radius: 16px;
box-shadow: inset 0 0 0 2px $card-stroke;
display: block;
margin: 1em 0;
overflow: auto;
Expand Down

0 comments on commit d1542c7

Please sign in to comment.