From cedb360494d57f3cfdacf4feeb50b48b5123b832 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Moreira?= Date: Tue, 22 Oct 2024 17:35:20 +0200 Subject: [PATCH] Fix figure caption alignments --- scss/modules/media.scss | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/scss/modules/media.scss b/scss/modules/media.scss index a132018..5384089 100644 --- a/scss/modules/media.scss +++ b/scss/modules/media.scss @@ -29,10 +29,14 @@ div.align-center img { width: 100%; } -.align-right .field--type-image { - margin: 0 0 0 1rem; +.align-right { + .field--type-image, figcaption { + margin: 0 0 0 1rem; + } } -.align-left .field--type-image { - margin: 0 1rem 0 0; +.align-left { + .field--type-image, figcaption { + margin: 0 1rem 0 0; + } }