8
0
Pārlūkot izejas kodu

Fix (image) unnecessary margin.

panr 5 gadi atpakaļ
vecāks
revīzija
9f5248d9df
1 mainītis faili ar 6 papildinājumiem un 0 dzēšanām
  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;
+	}
 }