From c4e8233fdb5490a4c2ea70eefdf45901bbcadfdc Mon Sep 17 00:00:00 2001 From: Anders Date: Tue, 12 Nov 2019 16:18:26 +0100 Subject: [PATCH] Fixed template: full width alignleft/alignright issue --- style-rtl.css | 12 +++++++++++- style.css | 16 +++++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/style-rtl.css b/style-rtl.css index 3995f419e..110256167 100644 --- a/style-rtl.css +++ b/style-rtl.css @@ -5676,7 +5676,15 @@ a.to-the-top > * { width: 100%; } - /* Template: [Template Name] ------------- */ + /* Template: Full Width ------------------ */ + + .template-full-width .wp-block-image .alignleft { + margin-right: 2rem; + } + + .template-full-width .wp-block-image .alignright { + margin-left: 2rem; + } /* Post: Archive ------------------------- */ @@ -6136,6 +6144,8 @@ a.to-the-top > * { width: 100%; } + .alignleft, + .alignright, .entry-content > .alignleft, .entry-content > p .alignleft, .entry-content > .wp-block-image .alignleft, diff --git a/style.css b/style.css index 21b07268a..6a44a60bc 100644 --- a/style.css +++ b/style.css @@ -5738,7 +5738,19 @@ a.to-the-top > * { width: 100%; } - /* Template: [Template Name] ------------- */ + /* Template: Full Width ------------------ */ + + .template-full-width .wp-block-image .alignleft { + + /*rtl:ignore*/ + margin-right: 2rem; + } + + .template-full-width .wp-block-image .alignright { + + /*rtl:ignore*/ + margin-left: 2rem; + } /* Post: Archive ------------------------- */ @@ -6242,6 +6254,8 @@ a.to-the-top > * { width: 100%; } + .alignleft, + .alignright, .entry-content > .alignleft, .entry-content > p .alignleft, .entry-content > .wp-block-image .alignleft,