소스 검색

Fix #917: Better default styling for zoom preview for object

Kartik Visweswaran 8 년 전
부모
커밋
ddedb30398
3개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 1
      CHANGE.md
  2. 1 1
      js/fileinput.js
  3. 0 0
      js/fileinput.min.js

+ 2 - 1
CHANGE.md

@@ -3,11 +3,12 @@ Change Log: `bootstrap-fileinput`
 
 ## version 4.4.0 (_under development_)
 
-**Date:** 04-Apr-2017
+**Date:** 05-Apr-2017
 
 1. (enh #910): New property `resizeIfMoreThan` to control image resize conditionally.
 2. (enh #915): Update default styling for zoom preview for object.
 3. Parse all numeric properties correctly.
+4. (enh #917): Better default styling for zoom preview for object (corrects #915).
 
 ## version 4.3.9
 

+ 1 - 1
js/fileinput.js

@@ -514,7 +514,7 @@
                     video: {width: "auto", height: "100%", 'max-width': "100%"},
                     audio: {width: "100%", height: "30px"},
                     flash: {width: "auto", height: "480px"},
-                    object: vDefaultDim,
+                    object: {width: "auto", height: "100%", 'max-width': "100%", 'min-height': "480px"},
                     pdf: vDefaultDim,
                     other: {width: "auto", height: "100%", 'min-height': "480px"}
                 },

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
js/fileinput.min.js


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.