8
0
فهرست منبع

Fix the linked image issues by removing direct child selector.

panr 5 سال پیش
والد
کامیت
f482b32acc
1فایلهای تغییر یافته به همراه1 افزوده شده و 7 حذف شده
  1. 1 7
      packages/ckeditor5-image/theme/image.css

+ 1 - 7
packages/ckeditor5-image/theme/image.css

@@ -11,7 +11,7 @@
 	/* Make sure there is some space between the content and the image. Center image by default. */
 	margin: 1em auto;
 
-	& > img {
+	& img {
 		/* Prevent unnecessary margins caused by line-height (see #44). */
 		display: block;
 
@@ -24,10 +24,4 @@
 		/* 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;
-	}
 }