adminforth 1.3.56-next.15 → 1.3.56-next.16

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.
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="relative">
2
+ <div class="relative w-full">
3
3
 
4
4
  <component
5
5
  v-for="c in coreStore?.resourceOptions?.pageInjections?.create?.beforeBreadcrumbs || []"
@@ -22,6 +22,12 @@ const limitHeightToPage = computed(() => {
22
22
  if (route.name !== 'resource-list' ) {
23
23
  return false;
24
24
  }
25
+ // for mobile phones disable shrinking table at all because of the issues with HEADER and general UX
26
+ // use navigator.userAgent to detect mobile phones
27
+ if (navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/iPhone|iPad|iPod/i)) {
28
+ return false;
29
+ }
30
+
25
31
  if (!coreStore.resource?.options?.pageInjections?.list) {
26
32
  return true;
27
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "1.3.56-next.15",
3
+ "version": "1.3.56-next.16",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",