Selaa lähdekoodia

Fix (image) unnecessary margin.

panr 5 vuotta sitten
vanhempi
commit
9f5248d9df
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  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;
+	}
 }