@adminforth/upload 1.4.5 → 1.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build.log CHANGED
@@ -11,5 +11,5 @@ custom/preview.vue
11
11
  custom/tsconfig.json
12
12
  custom/uploader.vue
13
13
 
14
- sent 42,976 bytes received 134 bytes 86,220.00 bytes/sec
15
- total size is 42,487 speedup is 0.99
14
+ sent 42,982 bytes received 134 bytes 86,232.00 bytes/sec
15
+ total size is 42,493 speedup is 0.99
@@ -1,8 +1,8 @@
1
1
 
2
2
  <template>
3
3
  <!-- Main modal -->
4
- <div tabindex="-1" class="overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 bottom-0 z-50 flex justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full bg-white bg-opacity-50 dark:bg-gray-900 dark:bg-opacity-50">
5
- <div class="relative p-4 w-full max-w-2xl max-h-full ">
4
+ <div tabindex="-1" class="overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 bottom-0 z-50 flex justify-center items-center w-full md:inset-0 h-full max-h-full bg-white bg-opacity-50 dark:bg-gray-900 dark:bg-opacity-50">
5
+ <div class="relative p-4 w-10/12 max-w-full max-h-full ">
6
6
  <!-- Modal content -->
7
7
  <div class="relative bg-white rounded-lg shadow-xl dark:bg-gray-700">
8
8
  <!-- Modal header -->
@@ -66,7 +66,7 @@
66
66
 
67
67
  <div id="gallery" class="relative w-full" data-carousel="static">
68
68
  <!-- Carousel wrapper -->
69
- <div class="relative h-56 overflow-hidden rounded-lg md:h-72">
69
+ <div class="relative h-56 overflow-hidden rounded-lg md:h-[calc(100vh-350px)]">
70
70
  <!-- Item 1 -->
71
71
  <div v-for="(img, index) in images" :key="index" class="hidden duration-700 ease-in-out" data-carousel-item>
72
72
  <img :src="img" class="absolute block max-w-full max-h-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2 object-cover"
@@ -1,8 +1,8 @@
1
1
 
2
2
  <template>
3
3
  <!-- Main modal -->
4
- <div tabindex="-1" class="overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 bottom-0 z-50 flex justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full bg-white bg-opacity-50 dark:bg-gray-900 dark:bg-opacity-50">
5
- <div class="relative p-4 w-full max-w-2xl max-h-full ">
4
+ <div tabindex="-1" class="overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 bottom-0 z-50 flex justify-center items-center w-full md:inset-0 h-full max-h-full bg-white bg-opacity-50 dark:bg-gray-900 dark:bg-opacity-50">
5
+ <div class="relative p-4 w-10/12 max-w-full max-h-full ">
6
6
  <!-- Modal content -->
7
7
  <div class="relative bg-white rounded-lg shadow-xl dark:bg-gray-700">
8
8
  <!-- Modal header -->
@@ -66,7 +66,7 @@
66
66
 
67
67
  <div id="gallery" class="relative w-full" data-carousel="static">
68
68
  <!-- Carousel wrapper -->
69
- <div class="relative h-56 overflow-hidden rounded-lg md:h-72">
69
+ <div class="relative h-56 overflow-hidden rounded-lg md:h-[calc(100vh-350px)]">
70
70
  <!-- Item 1 -->
71
71
  <div v-for="(img, index) in images" :key="index" class="hidden duration-700 ease-in-out" data-carousel-item>
72
72
  <img :src="img" class="absolute block max-w-full max-h-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2 object-cover"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/upload",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "description": "Plugin for uploading files for adminforth",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",