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 {