Skip to content

Commit

Permalink
Fix the paragraph styling
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Apr 18, 2017
1 parent 0dc010b commit 706fbc5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
14 changes: 12 additions & 2 deletions blocks/components/editable/style.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
.blocks-editable:focus {
outline: none;
.blocks-editable {
> p:first-child {
margin-top: 0;
}

> p:last-child {
margin-bottom: 0;
}

&:focus {
outline: none;
}
}
5 changes: 0 additions & 5 deletions editor/modes/visual-editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@
font-size: $editor-font-size;
line-height: $editor-line-height;
}

p {
margin-top: 0;
margin-bottom: 0;
}
}

.editor-visual-editor__block {
Expand Down

0 comments on commit 706fbc5

Please sign in to comment.