@necrolab/dashboard 0.5.9 → 0.5.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@necrolab/dashboard",
3
- "version": "0.5.9",
3
+ "version": "0.5.10",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": "rm -rf dist && npx workbox-cli generateSW workbox-config.cjs && vite build",
@@ -117,16 +117,16 @@ onClickOutside(target, (event) => {
117
117
  /* iPhone portrait mode - extra spacing for create button */
118
118
  @media (max-width: 480px) and (orientation: portrait) {
119
119
  .modal-mask {
120
- padding-bottom: 3rem !important; // Extra bottom padding for iPhone
120
+ padding-bottom: 3rem !important;
121
121
  }
122
122
 
123
123
  .component-modal {
124
- margin-bottom: 3rem !important; // Even more bottom margin for iPhone portrait
125
- max-height: calc(100vh - 12rem) !important; // Ensure modal doesn't get too tall
124
+ margin-bottom: 3rem !important;
125
+ max-height: none !important;
126
126
  }
127
127
 
128
128
  .modal-body {
129
- padding-bottom: 1rem !important; // Extra padding for create button on iPhone
129
+ padding-bottom: 1rem !important;
130
130
  }
131
131
  }
132
132
 
@@ -163,6 +163,8 @@
163
163
  height: calc(100vh - 18rem);
164
164
  scrollbar-width: thin;
165
165
  scrollbar-color: oklch(0.35 0 0) oklch(0.19 0 0);
166
+ touch-action: pan-x pan-y !important;
167
+ -webkit-overflow-scrolling: touch;
166
168
 
167
169
  // Use fixed height on mobile portrait to ensure switches are visible
168
170
  @media (max-width: 768px) {
package/vite.config.js CHANGED
@@ -63,6 +63,7 @@ export default defineConfig({
63
63
  hmr: {
64
64
  overlay: false
65
65
  },
66
+ allowedHosts: ["localhost", "127.0.0.1", "::1", "mac.local"],
66
67
  // Handle iOS connection resets gracefully
67
68
  watch: {
68
69
  usePolling: false,