Browse Source

Docs: Restricted the width of the balloon editor to visually isolate it from the content of the guide.

Aleksander Nowodzinski 7 years ago
parent
commit
3714840e87
1 changed files with 6 additions and 0 deletions
  1. 6 0
      packages/ckeditor5-ui/docs/_snippets/features/blocktoolbar.html

+ 6 - 0
packages/ckeditor5-ui/docs/_snippets/features/blocktoolbar.html

@@ -12,4 +12,10 @@
 	.ck.ck-block-toolbar-button {
 		transform: translateX( -10px );
 	}
+
+	/* Restrict the width of the editor to isolate it from the content of the guide. */
+	#snippet-block-toolbar {
+		margin-left: 5%;
+		margin-right: 5%;
+	}
 </style>