Skip to content

Commit

Permalink
feat: add styling for CodeMirror
Browse files Browse the repository at this point in the history
  • Loading branch information
prtksxna committed Jun 19, 2020
1 parent d306298 commit 498b926
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 2 deletions.
17 changes: 17 additions & 0 deletions codemirror.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.wp-block-codemirror-blocks-code-block {
margin: 8px -32px;
font-size: 75%;

.cm-s-material.CodeMirror {
padding: 32px;
border-radius: 8px;
}

pre {
margin: 0;
}

.CodeMirror-lines {
padding: 0;
}
}
10 changes: 10 additions & 0 deletions style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 498b926

Please sign in to comment.