Browse Source

Fix (image) unnecessary margin.

panr 5 years ago
parent
commit
9f5248d9df
1 changed files with 6 additions and 0 deletions
  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;
+	}
 }