From c14f38a32081d95f3891e243be3038557a44d0a6 Mon Sep 17 00:00:00 2001
From: Bill Seremetis <bill@seremetis.net>
Date: Tue, 29 Jul 2014 13:04:55 +0200
Subject: [PATCH] Provide a fix for #1779494 regardless of base theme used.
 Credits to Sk8erPeter (https://www.drupal.org/user/1441344)
 and Bastlynn (https://www.drupal.org/user/275249)

---
 Jcrop/css/jquery.Jcrop.css     |    6 ++++++
 Jcrop/css/jquery.Jcrop.min.css |    1 +
 2 files changed, 7 insertions(+)

diff --git a/Jcrop/css/jquery.Jcrop.css b/Jcrop/css/jquery.Jcrop.css
index 95f8b9c..bc6cc8c 100644
--- a/Jcrop/css/jquery.Jcrop.css
+++ b/Jcrop/css/jquery.Jcrop.css
@@ -163,3 +163,9 @@
 img.jcrop-preview {
   max-width: none;
 }
+/* Fix for several themes and normalize.css
+ * see https://www.drupal.org/node/1779494
+ */
+div.imagefield-crop-widget img {
+  max-width:none !important;
+}
diff --git a/Jcrop/css/jquery.Jcrop.min.css b/Jcrop/css/jquery.Jcrop.min.css
index edc76b2..78f6e72 100644
--- a/Jcrop/css/jquery.Jcrop.min.css
+++ b/Jcrop/css/jquery.Jcrop.min.css
@@ -27,3 +27,4 @@
 .jcrop-dark .jcrop-handle{-moz-border-radius:3px;-webkit-border-radius:3px;background-color:#FFF;border-color:#000;border-radius:3px;}
 .solid-line .jcrop-vline,.solid-line .jcrop-hline{background:#FFF;}
 .jcrop-holder img,img.jcrop-preview{max-width:none;}
+div.imagefield-crop-widget img{max-width:none!important;}
-- 
1.7.10.4

