From 571a9642a546b7cd6757884be72de0226cfb006e Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 12 Feb 2018 11:06:21 +0100 Subject: slightly improve cropper style --- view/css/mod_profile_photo.css | 10 +++++++++- view/theme/redbasic/css/style.css | 11 +++-------- view/tpl/cropbody.tpl | 4 ++-- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/view/css/mod_profile_photo.css b/view/css/mod_profile_photo.css index 5540b5fae..1b7e15194 100644 --- a/view/css/mod_profile_photo.css +++ b/view/css/mod_profile_photo.css @@ -9,4 +9,12 @@ #profile-photo-submit-wrapper { clear: both; -} \ No newline at end of file +} + +#profile-photo-wrapper { + height: 300px; + width: 300px; + max-width: 300px; + max-height: 300px; + overflow: hidden; +} diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index b0a109c92..1611cda60 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -381,14 +381,9 @@ footer { margin: 15px 0px; } -#cropimage-wrapper, #cropimage-preview-wrapper { - float: left; - padding: 30px; -} - -#crop-image-form { - margin-top: 30px; - clear: both; +#cropimage-wrapper, +#cropimage-preview-wrapper { + margin-bottom: 10px; } .fn { diff --git a/view/tpl/cropbody.tpl b/view/tpl/cropbody.tpl index e008167bb..a8b8207cb 100755 --- a/view/tpl/cropbody.tpl +++ b/view/tpl/cropbody.tpl @@ -6,7 +6,7 @@ {{$title}}
-
+