@sveltia/ui 0.7.3 → 0.7.4

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.
@@ -280,7 +280,7 @@ dialog.vertical {
280
280
  max-width: 100vw;
281
281
  }
282
282
  dialog.vertical.open form {
283
- max-width: calc(100vw - 48px);
283
+ max-width: calc(100vw - 56px);
284
284
  transform: translateX(0%);
285
285
  }
286
286
  dialog.vertical.small form {
@@ -318,7 +318,7 @@ dialog.horizontal {
318
318
  max-height: 100vh;
319
319
  }
320
320
  dialog.horizontal.open form {
321
- max-height: calc(100vh - 48px);
321
+ max-height: calc(100vh - 56px);
322
322
  transform: translateY(0%);
323
323
  }
324
324
  dialog.horizontal.small form {
@@ -264,6 +264,7 @@
264
264
  onMount(() => {
265
265
  const query = window.matchMedia('(pointer: coarse)');
266
266
 
267
+ new ResizeObserver(() => init()).observe(base);
267
268
  query.addEventListener('change', init);
268
269
  init();
269
270
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltia/ui",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "publishConfig": {