beca-ui 0.1.40 → 0.1.42
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/dist/beca-ui.js +2 -3
- package/dist/main.css +1 -1
- package/package.json +1 -1
package/dist/beca-ui.js
CHANGED
|
@@ -88368,9 +88368,8 @@ const AppContext = createContext$1({}), MainLayout = (a) => {
|
|
|
88368
88368
|
if (R) {
|
|
88369
88369
|
const L = R.querySelector(".bu2-card-body");
|
|
88370
88370
|
if (L) {
|
|
88371
|
-
const I = document.querySelector(".ant-layout-header.header"), Y = I ? I.clientHeight : 0, G =
|
|
88372
|
-
|
|
88373
|
-
L.setAttribute("style", `height:${E}px`), Z && Z(E);
|
|
88371
|
+
const I = document.querySelector(".ant-layout-header.header"), Y = I ? I.clientHeight : 0, G = 32, X = 16, V = R.querySelector(".bu2-card-header"), E = V ? V.clientHeight : 0, z = window.innerHeight - Y - G - X - E;
|
|
88372
|
+
L.setAttribute("style", `height:${z}px`), Z && Z(z);
|
|
88374
88373
|
}
|
|
88375
88374
|
}
|
|
88376
88375
|
};
|