@fy-/fws-vue 2.3.2 → 2.3.3

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.
@@ -52,11 +52,6 @@ function onCall(data: NotifProps) {
52
52
  // If there's an existing notification, remove it first
53
53
  hideNotif()
54
54
 
55
- // Ensure a minimum of 1s if time is too short or undefined
56
- if (!data.time || data.time < 1000) {
57
- data.time = 5000
58
- }
59
-
60
55
  // Automatically compute an icon if none is provided
61
56
  if (!data.imgIcon) {
62
57
  if (data.type === 'info') data.imgIcon = InformationCircleIcon
@@ -299,7 +294,7 @@ onUnmounted(() => {
299
294
  <!-- Notification content -->
300
295
  <div
301
296
  v-if="currentNotif.content"
302
- class="mt-2 text-sm"
297
+ class="mt-2 text-xs md:text-sm"
303
298
  :class="textColor"
304
299
  v-html="currentNotif.content"
305
300
  />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "2.3.02",
3
+ "version": "2.3.03",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/fy-to/FWJS#readme",