@brightspace-ui/core 1.237.1 → 1.237.2

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.
@@ -176,12 +176,6 @@ class DialogFullscreen extends LocalizeCoreElement(AsyncContainerMixin(DialogMix
176
176
  min-width: calc(var(--d2l-vw, 1vw) * 100);
177
177
  top: 42px;
178
178
  }
179
-
180
- :host(:not([in-iframe])) dialog.d2l-dialog-outer,
181
- :host(:not([in-iframe])) div.d2l-dialog-outer {
182
- height: calc(var(--d2l-vh, 1vh) * 100 - 42px);
183
- min-height: calc(var(--d2l-vh, 1vh) * 100 - 42px);
184
- }
185
179
  }
186
180
  `];
187
181
  }
@@ -226,6 +220,9 @@ class DialogFullscreen extends LocalizeCoreElement(AsyncContainerMixin(DialogMix
226
220
  : 0;
227
221
  const startTop = mediaQueryList.matches ? 42 : 0;
228
222
  topOverride = iframeTop + startTop;
223
+ } else if (window.innerWidth <= 615 || (window.innerWidth <= 900 && window.innerHeight <= 420)) {
224
+ heightOverride.height = `${window.innerHeight - 42 - 2}px`; // render full window height - 42px top padding - 2px border
225
+ heightOverride.minHeight = heightOverride.height;
229
226
  }
230
227
 
231
228
  let loading = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "1.237.1",
3
+ "version": "1.237.2",
4
4
  "description": "A collection of accessible, free, open-source web components for building Brightspace applications",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/BrightspaceUI/core.git",