Skip to content

Commit 02e2e6b

Browse files
committed
Correct zoom modal title
1 parent 10b333c commit 02e2e6b

File tree

6 files changed

+20
-26
lines changed

6 files changed

+20
-26
lines changed

CHANGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Change Log: `bootstrap-fileinput`
33

44
## version 5.2.7
55

6-
**Date**: _under development_
6+
**Date**: 17-Dec-2021
77

88
- (enh #1767): Enhance ajax task queuing to validate `maxAjaxThreads` correctly.
99
- enhancement for async uploads (with correct firing of events `filebatchuploadsuccess` and `filebatchuploaderror`)

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Step 1: Load the following assets on your page in the order mentioned.
8383

8484
```html
8585
<!-- bootstrap 5.x or 4.x is supported. You can also use the bootstrap css 3.3.x versions -->
86-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" crossorigin="anonymous">
86+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" crossorigin="anonymous">
8787

8888
<!-- default icons used in the plugin are from Bootstrap 5.x icon library (which can be enabled by loading CSS below) -->
8989
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.min.css" crossorigin="anonymous">
@@ -92,34 +92,34 @@ Step 1: Load the following assets on your page in the order mentioned.
9292
<!-- link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css" crossorigin="anonymous" -->
9393

9494
<!-- the fileinput plugin styling CSS file -->
95-
<link href="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.6/css/fileinput.min.css" media="all" rel="stylesheet" type="text/css" />
95+
<link href="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.7/css/fileinput.min.css" media="all" rel="stylesheet" type="text/css" />
9696

9797
<!-- if using RTL (Right-To-Left) orientation, load the RTL CSS file after fileinput.css by uncommenting below -->
98-
<!-- link href="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.6/css/fileinput-rtl.min.css" media="all" rel="stylesheet" type="text/css" /-->
98+
<!-- link href="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.7/css/fileinput-rtl.min.css" media="all" rel="stylesheet" type="text/css" /-->
9999

100100
<!-- the jQuery Library -->
101101
<script src="https://code.jquery.com/jquery-3.6.0.min.js" crossorigin="anonymous"></script>
102102

103103
<!-- piexif.min.js is needed for auto orienting image files OR when restoring exif data in resized images and when you
104104
wish to resize images before upload. This must be loaded before fileinput.min.js -->
105-
<script src="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.6/js/plugins/piexif.min.js" type="text/javascript"></script>
105+
<script src="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.7/js/plugins/piexif.min.js" type="text/javascript"></script>
106106

107107
<!-- sortable.min.js is only needed if you wish to sort / rearrange files in initial preview.
108108
This must be loaded before fileinput.min.js -->
109-
<script src="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.6/js/plugins/sortable.min.js" type="text/javascript"></script>
109+
<script src="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.7/js/plugins/sortable.min.js" type="text/javascript"></script>
110110

111111
<!-- bootstrap.bundle.min.js below is needed if you wish to zoom and preview file content in a detail modal
112112
dialog. bootstrap 5.x or 4.x is supported. You can also use the bootstrap js 3.3.x versions. -->
113-
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
113+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
114114

115115
<!-- the main fileinput plugin script JS file -->
116-
<script src="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.6/js/fileinput.min.js"></script>
116+
<script src="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.7/js/fileinput.min.js"></script>
117117

118118
<!-- following theme script is needed to use the Font Awesome 5.x theme (`fas`). Uncomment if needed. -->
119-
<!-- script src="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.6/themes/fas/theme.min.js"></script -->
119+
<!-- script src="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.7/themes/fas/theme.min.js"></script -->
120120

121121
<!-- optionally if you need translation for your language then include the locale file as mentioned below (replace LANG.js with your language locale) -->
122-
<script src="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.6/js/locales/LANG.js"></script>
122+
<script src="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.7/js/locales/LANG.js"></script>
123123
```
124124
With v5.2.1, the plugin is able to automatically detect the bootstrap library version and deliver the relevant bootstrap specific functionality (if you have loaded the bootstrap.min.js before fileinput.min.js). In case of any issues - you can explicitly set the bootstrap version by setting the following variable before the plugin initialization script.
125125

css/fileinput.css

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -421,13 +421,6 @@ input[type=file].file-loading {
421421
right: 0;
422422
}
423423

424-
.file-zoom-dialog .kv-zoom-caption {
425-
max-width: 50%;
426-
overflow: hidden;
427-
white-space: nowrap;
428-
text-overflow: ellipsis;
429-
}
430-
431424
.file-zoom-dialog .kv-zoom-header {
432425
padding: 0.5rem;
433426
}
@@ -549,6 +542,10 @@ input[type=file].file-loading {
549542
z-index: 3000;
550543
}
551544

545+
.kv-zoom-actions {
546+
min-width: 140px;
547+
}
548+
552549
.kv-zoom-actions .btn-kv {
553550
margin-left: 3px;
554551
}

0 commit comments

Comments
 (0)