Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Fix: A lone paragraph should be vertically centred in the editor. Closes
Browse files Browse the repository at this point in the history
  • Loading branch information
oleq committed Feb 16, 2018
1 parent f223d6a commit ce89325
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion theme/ckeditor5-ui/components/editorui/editorui.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@

/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/116 */
& > *:first-child {
margin-top: var(--ck-spacing-standard);
margin-top: var(--ck-spacing-large);
}

/* https://github.com/ckeditor/ckeditor5/issues/847 */
& > *:last-child {
margin-bottom: var(--ck-spacing-large);
}
}

Expand Down

0 comments on commit ce89325

Please sign in to comment.