Browse Source

Fix #986: Image width parsing and styling enhancements

Kartik Visweswaran 8 years ago
parent
commit
794f14c085
7 changed files with 13 additions and 1 deletions
  1. 7 0
      CHANGE.md
  2. 5 0
      css/fileinput.css
  3. 0 0
      css/fileinput.min.css
  4. 0 1
      js/fileinput.js
  5. 0 0
      js/fileinput.min.js
  6. 1 0
      themes/explorer/theme.css
  7. 0 0
      themes/explorer/theme.min.css

+ 7 - 0
CHANGE.md

@@ -1,6 +1,13 @@
 Change Log: `bootstrap-fileinput`
 =================================
 
+## version 4.4.2
+
+**Date:** 28-May-2017
+
+- (enh #986): Image width parsing and styling enhancements.
+- (enh #981): Update Hungarian Translations.
+
 ## version 4.4.1
 
 **Date:** 25-May-2017

+ 5 - 0
css/fileinput.css

@@ -92,6 +92,11 @@
     margin-bottom: 5px;
 }
 
+.file-preview-image {
+    font: 40px Impact, Charcoal, sans-serif;
+    color: green;
+}
+
 .krajee-default.file-preview-frame {
     position: relative;
     display: table;

File diff suppressed because it is too large
+ 0 - 0
css/fileinput.min.css


+ 0 - 1
js/fileinput.js

@@ -2908,7 +2908,6 @@
                 w2 = $preview.width();
                 if (w1 > w2) {
                     $img.css('width', '100%');
-                    $thumb.css('width', '97%');
                 }
                 params = {ind: i, id: previewId};
                 self._checkDimensions(i, 'Small', $img, $thumb, fname, 'Width', params);

File diff suppressed because it is too large
+ 0 - 0
js/fileinput.min.js


+ 1 - 0
themes/explorer/theme.css

@@ -171,6 +171,7 @@
 
     .theme-explorer .table .kv-file-content .file-preview-image {
         max-width: 100%;
+        font-size: 20px;
     }
 
     .theme-explorer .file-details-cell {

File diff suppressed because it is too large
+ 0 - 0
themes/explorer/theme.min.css


Some files were not shown because too many files changed in this diff