Ver código fonte

Fixed broken input error in the media embed form when the viewport is narrow.

Aleksander Nowodzinski 7 anos atrás
pai
commit
87013dfd95

+ 5 - 0
packages/ckeditor5-theme-lark/theme/ckeditor5-media-embed/mediaform.css

@@ -27,6 +27,11 @@
 				min-width: 0;
 				width: 100%;
 			}
+
+			/* Let the long error messages wrap in the narrow form. */
+			& .ck-labeled-input__error {
+				white-space: normal;
+			}
 		}
 
 		& .ck-button {