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 #94 from ckeditor/t/93
Browse files Browse the repository at this point in the history
Fix: Toolbar items should not collapse when the toolbar is floating. Closes #93.
  • Loading branch information
Reinmar committed May 19, 2017
2 parents d36bbe7 + 2daec4b commit b263d5f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions theme/components/toolbar/toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,17 @@
line-height: 1;
padding: ck-spacing( 'small' );
border: 1px solid ck-border-color();

// Allow wrapping toolbar items to the new line.
white-space: initial;

&_floating {
// Disallow wrapping toolbar items to the new line when the toolbar is floating,
// resulting in an toolbar shapes when the horizontal space is limited.
// https://github.com/ckeditor/ckeditor5-theme-lark/issues/93
white-space: nowrap;
}

@include ck-unselectable();
@include ck-rounded-corners();

Expand Down

0 comments on commit b263d5f

Please sign in to comment.