浏览代码

Aligned labeled input's classes to the updated [status/info/error]text API.

Aleksander Nowodzinski 7 年之前
父节点
当前提交
fdbe3c65d9

+ 4 - 3
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/labeledinput/labeledinput.css

@@ -3,14 +3,15 @@
  * For licensing, see LICENSE.md.
  */
 
-.ck.ck-labeled-input .ck-labeled-input__info {
+.ck.ck-labeled-input .ck-labeled-input__status {
 	font-size: var(--ck-font-size-small);
 	margin-top: var(--ck-spacing-small);
 
-	/* Let the info wrap to the next line to avoid stretching the layout horizontally. */
+	/* Let the info wrap to the next line to avoid stretching the layout horizontally.
+	The status could be very long. */
 	white-space: normal;
 }
 
-.ck.ck-labeled-input .ck-labeled-input__info_error {
+.ck.ck-labeled-input .ck-labeled-input__status_error {
 	color: var(--ck-color-base-error);
 }