@brightspace-ui/core 1.233.2 → 1.233.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.
|
@@ -197,7 +197,7 @@ export const DialogMixin = superclass => class extends RtlMixin(superclass) {
|
|
|
197
197
|
let preferredHeight = 0;
|
|
198
198
|
|
|
199
199
|
const header = this.shadowRoot.querySelector('.d2l-dialog-header');
|
|
200
|
-
if (header) preferredHeight += header.
|
|
200
|
+
if (header) preferredHeight += Math.ceil(header.getBoundingClientRect().height);
|
|
201
201
|
|
|
202
202
|
const contentOuter = this.shadowRoot.querySelector('.d2l-dialog-content');
|
|
203
203
|
const content = this.shadowRoot.querySelector('.d2l-dialog-content > div');
|
|
@@ -210,7 +210,7 @@ export const DialogMixin = superclass => class extends RtlMixin(superclass) {
|
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
const footer = this.shadowRoot.querySelector('.d2l-dialog-footer');
|
|
213
|
-
if (footer) preferredHeight += footer.
|
|
213
|
+
if (footer) preferredHeight += Math.ceil(footer.getBoundingClientRect().height);
|
|
214
214
|
|
|
215
215
|
const height = (preferredHeight < availableHeight ? preferredHeight : availableHeight);
|
|
216
216
|
return height;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "1.233.
|
|
3
|
+
"version": "1.233.3",
|
|
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",
|