Skip to content

Commit

Permalink
Fix editor styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Mar 23, 2020
1 parent 2c8a3de commit 83f5f04
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions packages/block-library/src/code/editor.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
.wp-block-code .block-editor-plain-text {
font-family: $editor-html-font;
color: $dark-gray-800;

/* Fonts smaller than 16px causes mobile safari to zoom. */
font-size: $mobile-text-min-font-size;
@include break-small {
font-size: $default-font-size;
}

&:focus {
box-shadow: none;
}
.wp-block-code > code {
// PlainText cannot be an inline element yet.
display: block;
}

0 comments on commit 83f5f04

Please sign in to comment.