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

Commit

Permalink
Merge pull request #144 from ckeditor/t/ckeditor5/847
Browse files Browse the repository at this point in the history
Fix: A lone paragraph should be vertically centered in the editor. Closes ckeditor/ckeditor5#847.
  • Loading branch information
oleq authored Feb 20, 2018
2 parents 0ec33f6 + ce89325 commit d09dfab
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 d09dfab

Please sign in to comment.