From 61bc6ca27b1fdfbb62987e7707ae79ed7bfc56be Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sat, 20 May 2023 14:53:05 +0200 Subject: [PATCH] fix: center unique image on articles --- scss/custom/_article.scss | 7 +++++++ style.css | 3 +++ 2 files changed, 10 insertions(+) diff --git a/scss/custom/_article.scss b/scss/custom/_article.scss index 553e2bc..03b7abe 100644 --- a/scss/custom/_article.scss +++ b/scss/custom/_article.scss @@ -34,4 +34,11 @@ margin-bottom: $lineheight / 4; } } +} + +.wp-block-image { + &.size-full, + &.size-large { + text-align: center; + } } \ No newline at end of file diff --git a/style.css b/style.css index 1cbc2a3..d737e9a 100644 --- a/style.css +++ b/style.css @@ -3034,6 +3034,9 @@ ul.social { display: inline-block; margin-bottom: 0.4rem; } +.wp-block-image.size-full, .wp-block-image.size-large { + text-align: center; } + #mobile-sidebar { position: fixed; top: 0;