Przeglądaj źródła

Docs: Removed excessive spacing inside the editable in the Bootstrap UI example. Closes ckeditor/ckeditor5#903.

Aleksander Nowodzinski 7 lat temu
rodzic
commit
de89b1afd4

+ 5 - 0
packages/ckeditor5-ui/docs/_snippets/examples/bootstrap-ui-inner.html

@@ -105,6 +105,11 @@
 			.ck-editor #bold { font-weight: bold; }
 			.ck-editor #bold { font-weight: bold; }
 			.ck-editor #italic { font-style: italic; }
 			.ck-editor #italic { font-style: italic; }
 			.ck-editor #underline { text-decoration: underline; }
 			.ck-editor #underline { text-decoration: underline; }
+
+			/* https://github.com/ckeditor/ckeditor5/issues/903 */
+			.ck-editor .ck-content > :first-child {
+				margin-top: 0;
+			}
 		</style>
 		</style>
 	</body>
 	</body>
 </html>
 </html>