Browse Source

Fix: The toolbar should not collapse when the window is narrow. Closes #11.

Aleksander Nowodzinski 8 years ago
parent
commit
5e5386ea7c
1 changed files with 6 additions and 1 deletions
  1. 6 1
      packages/ckeditor5-editor-inline/src/inlineeditoruiview.js

+ 6 - 1
packages/ckeditor5-editor-inline/src/inlineeditoruiview.js

@@ -59,7 +59,12 @@ export default class InlineEditorUIView extends EditorUIView {
 
 		Template.extend( this.toolbar.template, {
 			attributes: {
-				class: 'ck-editor-toolbar'
+				class: [
+					'ck-editor-toolbar',
+
+					// https://github.com/ckeditor/ckeditor5-editor-inline/issues/11
+					'ck-toolbar_floating'
+				]
 			}
 		} );