From b9e947f84892ed8ae455df214f1215ef5bf54264 Mon Sep 17 00:00:00 2001
From: Alexander Bilz <mail@alexbilz.com>
Date: Mon, 21 Mar 2022 19:36:26 +0000
Subject: [PATCH] Merge branch 'master' into feat/hide-sidebar-on-content-page

---
 assets/scss/partials/components/_post.scss |   20 ++++++++++++++++----
 1 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/assets/scss/partials/components/_post.scss b/assets/scss/partials/components/_post.scss
index ed1333d..3910d7c 100644
--- a/assets/scss/partials/components/_post.scss
+++ b/assets/scss/partials/components/_post.scss
@@ -159,11 +159,23 @@
     figure {
       max-width: 100%;
       height: auto;
-      margin: 0;
+      margin: 0 auto;
       text-align: center;
 
       &.big {
-        max-width: 100vw;
+        max-width: 87.5%;
+      }
+
+      &.medium {
+        max-width: 75%;
+      }
+
+      &.small {
+        max-width: 50%;
+      }
+
+      &.tiny {
+        max-width: 25%;
       }
 
       &.right {
@@ -172,12 +184,12 @@
 
           @include ltr {
             float: right;
-            margin-left: 1.5em;
+            margin: 0 0 0 1.5em;
           }
 
           @include rtl {
             float: left;
-            margin-right: 1.5em;
+            margin: 0 1.5em 0 0;
           }
         }
       }

--
Gitblit v1.10.0