From 1868c3063cac91df7f0b0be944995483e0760f79 Mon Sep 17 00:00:00 2001 From: urlordjames <32751441+urlordjames@users.noreply.github.com> Date: Fri, 19 May 2023 22:06:52 -0400 Subject: [PATCH] resolve pawroman/zola-theme-terminimal#40 --- sass/main.scss | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/sass/main.scss b/sass/main.scss index 20a3fd3..453bc18 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -83,23 +83,17 @@ figure { max-width: 100%; margin: 25px 0; - &.left { - img { - margin-right: auto; - } + &.left, img { + margin-right: auto; } - &.center { - img { - margin-left: auto; - margin-right: auto; - } + &.center, img { + margin-left: auto; + margin-right: auto; } - &.right { - img { - margin-left: auto; - } + &.right, img { + margin-left: auto; } figcaption {