Преглед на файлове

Fix #1503: Correct Mozilla PDF rendering bug

Kartik Visweswaran преди 5 години
родител
ревизия
ee58364de6
променени са 3 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 1 0
      CHANGE.md
  2. 1 1
      js/fileinput.js
  3. 0 0
      js/fileinput.min.js

+ 1 - 0
CHANGE.md

@@ -23,6 +23,7 @@ Change Log: `bootstrap-fileinput`
 - (bug #1510): Lock browse button correctly when disable method is called.
 - (bug #1509): Correct zoom slideshow to show only files with zoom enabled via `showZoom`.
 - (bug #1508): Correct file caption after files are uploaded.
+- (enh #1503): Correct Mozilla PDF rendering bug.
 - (bug #1499, #1502): Correct duplicate file check error rendering.
 - (enh #1497): Better validation of progress display when `showPreview` is `false`.
 - (bug #1482): Validate `initialPreviewShowDelete` setting correctly.

+ 1 - 1
js/fileinput.js

@@ -1555,7 +1555,7 @@
                     audio: {width: '100%', height: '30px'},
                     flash: {width: '213px', height: '160px'},
                     object: {width: '213px', height: '160px'},
-                    pdf: {width: '100%', height: '160px'},
+                    pdf: {width: '100%', height: '160px', 'position': 'relative'},
                     other: {width: '213px', height: '160px'}
                 },
                 previewSettingsSmall: {

Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
js/fileinput.min.js


Някои файлове не бяха показани, защото твърде много файлове са промени