Browse Source

Fix #577: Better label spacing for default browse icon

Kartik Visweswaran 9 years ago
parent
commit
32b0ccb256
3 changed files with 2 additions and 1 deletions
  1. 1 0
      CHANGE.md
  2. 1 1
      js/fileinput.js
  3. 0 0
      js/fileinput.min.js

+ 1 - 0
CHANGE.md

@@ -19,6 +19,7 @@ Change Log: `bootstrap-fileinput`
 11. (enh #574): Change naming convention for private / internal methods. Prepend internal plugin methods with underscore `_`.
 12. (enh #575): Implement public method chaining and update docs for methods.
 13. (bug #576): Correct previewCache initialization.
+14. (bug #577): Better label spacing for default browse icon.
 
 ## version 4.3.0
 

+ 1 - 1
js/fileinput.js

@@ -2658,7 +2658,7 @@
         previewFileIconSettings: {},
         previewFileExtSettings: {},
         buttonLabelClass: 'hidden-xs',
-        browseIcon: '<i class="glyphicon glyphicon-folder-open"></i>',
+        browseIcon: '<i class="glyphicon glyphicon-folder-open"></i>&nbsp;',
         browseClass: 'btn btn-primary',
         removeIcon: '<i class="glyphicon glyphicon-trash"></i>',
         removeClass: 'btn btn-default',

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


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