فهرست منبع

Add back rule to ensure alignfull takes up entire full width.

Jeff Ong 5 سال پیش
والد
کامیت
122fa1b305
1فایلهای تغییر یافته به همراه8 افزوده شده و 0 حذف شده
  1. 8 0
      seedlet-blocks/style.css

+ 8 - 0
seedlet-blocks/style.css

@@ -46,4 +46,12 @@ GNU General Public License for more details.
 	--global--color-primary: var(--wp--preset--color--primary);
 	--global--color-secondary: var(--wp--preset--color--secondary);
 	--global--color-tertiary: var(--wp--preset--color--tertiary);
+}
+
+/* Make sure full-width items in entry content show up as full-width. */
+.wp-block-group.site-content .wp-block-group__inner-container .entry-content {
+	max-width: calc(100% + (2 * var(--global--spacing-horizontal)));
+	width: calc(100% + (2 * var(--global--spacing-horizontal)));
+	margin-left: calc(-1 * var(--global--spacing-horizontal));
+	margin-right: auto;
 }