Преглед на файлове

Fix (image) unnecessary margin.

panr преди 5 години
родител
ревизия
9f5248d9df
променени са 1 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 6 0
      packages/ckeditor5-image/theme/image.css

+ 6 - 0
packages/ckeditor5-image/theme/image.css

@@ -24,4 +24,10 @@
 		/* Make sure the caption will be displayed properly (See: https://github.com/ckeditor/ckeditor5/issues/1870). */
 		min-width: 50px;
 	}
+
+	/* Reduces unnecessary margin under the linked image. */
+	& > a {
+		display: block;
+		line-height: 0;
+	}
 }