UX: Contain site setting uploads within the div

UX: Contain site setting uploads within the div.

From f4020d91349f5ac0b38cfc25aeda9f0fe59ff5da Mon Sep 17 00:00:00 2001
From: Guo Xiang Tan <tgx_world@hotmail.com>
Date: Wed, 21 Nov 2018 10:09:28 +0800
Subject: [PATCH] UX: Contain site setting uploads within the div.


diff --git a/app/assets/stylesheets/common/admin/settings.scss b/app/assets/stylesheets/common/admin/settings.scss
index 0e72465..d4129b4 100644
--- a/app/assets/stylesheets/common/admin/settings.scss
+++ b/app/assets/stylesheets/common/admin/settings.scss
@@ -38,7 +38,7 @@
         }
       }
       .uploaded-image-preview {
-        background-size: auto;
+        background-size: contain;
         background-repeat: no-repeat;
         background-color: $primary-medium;
       }

GitHub

1 Like