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

Independent Publisher 2: Adjust heading clearing (#1790)

* Independent Publisher 2: Adjust heading clearing
* Independent Publisher 2: Adjust image block margin
* Props @nielslange
Niels Lange преди 5 години
родител
ревизия
0252652a31
променени са 2 файла, в които са добавени 6 реда и са изтрити 2 реда
  1. 6 1
      independent-publisher-2/css/blocks.css
  2. 0 1
      independent-publisher-2/style.css

+ 6 - 1
independent-publisher-2/css/blocks.css

@@ -140,13 +140,18 @@ p.has-drop-cap:not(:focus)::first-letter {
 	width: 100%;
 }
 
+/* Image */
+.wp-block-image .alignleft,
+.wp-block-image .alignright {
+	margin-top: 30px;
+}
+
 /* Cover */
 
 .wp-block-cover.aligncenter,
 .wp-block-cover-image.aligncenter,
 .wp-block-cover.alignleft,
 .wp-block-cover-image.alignleft,
-.wp-block-cover.alignright,
 .wp-block-cover-image.alignright {
 	display: flex;
 }

+ 0 - 1
independent-publisher-2/style.css

@@ -309,7 +309,6 @@ h3,
 h4,
 h5,
 h6 {
-	clear: both;
 	margin-top: .875em;
 	margin-bottom: .875em;
 	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;