@regulaforensics/idv-gui 3.10.626-nightly → 3.10.627-rc
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/main.iife.js +1 -1
- package/dist/main.js +6 -11
- package/dist/main.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1381,13 +1381,9 @@ var vn = () => {
|
|
|
1381
1381
|
//#region src/screens/status-screen/index.tsx
|
|
1382
1382
|
R();
|
|
1383
1383
|
var Tn = ({ header: e, footer: t, image: n, title: r, description: i, buttons: a, backgroundColor: o, backgroundImage: s }) => {
|
|
1384
|
-
let c = F(null), l
|
|
1384
|
+
let c = F(null), [l, u] = N(!1);
|
|
1385
1385
|
return P(() => {
|
|
1386
|
-
|
|
1387
|
-
let t = l.current, n = c.current;
|
|
1388
|
-
if (!t || !n) return;
|
|
1389
|
-
let r = (e = n.getBoundingClientRect().height) == null ? 0 : e, i = t.getBoundingClientRect().height;
|
|
1390
|
-
d(r > i + 2);
|
|
1386
|
+
c.current && u(c.current.scrollHeight > c.current.clientHeight + 2);
|
|
1391
1387
|
}, []), /* @__PURE__ */ B(Cn, {
|
|
1392
1388
|
header: e,
|
|
1393
1389
|
buttons: a,
|
|
@@ -1398,7 +1394,7 @@ var Tn = ({ header: e, footer: t, image: n, title: r, description: i, buttons: a
|
|
|
1398
1394
|
part: "gui-status-screen",
|
|
1399
1395
|
style: {
|
|
1400
1396
|
display: "flex",
|
|
1401
|
-
justifyContent:
|
|
1397
|
+
justifyContent: l ? "flex-start" : "center",
|
|
1402
1398
|
alignItems: "center",
|
|
1403
1399
|
alignContent: "center",
|
|
1404
1400
|
flex: 1,
|
|
@@ -1411,13 +1407,12 @@ var Tn = ({ header: e, footer: t, image: n, title: r, description: i, buttons: a
|
|
|
1411
1407
|
children: /* @__PURE__ */ B(W, z({}, n))
|
|
1412
1408
|
}),
|
|
1413
1409
|
(r == null ? void 0 : r.text) && /* @__PURE__ */ B("div", {
|
|
1414
|
-
ref:
|
|
1410
|
+
ref: c,
|
|
1415
1411
|
style: {
|
|
1416
1412
|
width: "100%",
|
|
1417
|
-
overflow:
|
|
1413
|
+
overflow: l ? "auto" : "hidden"
|
|
1418
1414
|
},
|
|
1419
1415
|
children: /* @__PURE__ */ B("div", {
|
|
1420
|
-
ref: c,
|
|
1421
1416
|
style: {
|
|
1422
1417
|
margin: "0 auto",
|
|
1423
1418
|
fontSize: "20px",
|
|
@@ -1427,7 +1422,7 @@ var Tn = ({ header: e, footer: t, image: n, title: r, description: i, buttons: a
|
|
|
1427
1422
|
lineHeight: "1.2",
|
|
1428
1423
|
display: "flex",
|
|
1429
1424
|
flexDirection: "column",
|
|
1430
|
-
justifyContent:
|
|
1425
|
+
justifyContent: l ? "flex-start" : "center",
|
|
1431
1426
|
alignItems: "center",
|
|
1432
1427
|
alignContent: "center"
|
|
1433
1428
|
},
|