@imperosoft/cris-webui-components 1.1.2-beta.15 → 1.1.2-beta.17
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/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1412,6 +1412,8 @@ var defaults = {
|
|
|
1412
1412
|
itemBtn: {
|
|
1413
1413
|
flex: 1,
|
|
1414
1414
|
minWidth: 0,
|
|
1415
|
+
display: "flex",
|
|
1416
|
+
alignItems: "center",
|
|
1415
1417
|
background: "transparent",
|
|
1416
1418
|
border: "none",
|
|
1417
1419
|
padding: "0.5rem 0.9rem",
|
|
@@ -1425,7 +1427,8 @@ var defaults = {
|
|
|
1425
1427
|
display: "flex",
|
|
1426
1428
|
alignItems: "center",
|
|
1427
1429
|
gap: "0.4rem",
|
|
1428
|
-
width: "100%"
|
|
1430
|
+
width: "100%",
|
|
1431
|
+
flex: 1
|
|
1429
1432
|
},
|
|
1430
1433
|
channelNum: {
|
|
1431
1434
|
flexShrink: 0,
|
|
@@ -1476,15 +1479,16 @@ var defaults = {
|
|
|
1476
1479
|
color: colors.text
|
|
1477
1480
|
}
|
|
1478
1481
|
};
|
|
1479
|
-
var
|
|
1482
|
+
var INJECTED_CSS = `
|
|
1480
1483
|
.cris-co-matrix-scroll::-webkit-scrollbar { display: none; }
|
|
1484
|
+
.cris-co-matrix-item > div:first-child > .cris-button { width: 100%; }
|
|
1481
1485
|
`;
|
|
1482
1486
|
var scrollbarStyleInjected = false;
|
|
1483
1487
|
function injectScrollbarStyle() {
|
|
1484
1488
|
if (scrollbarStyleInjected) return;
|
|
1485
1489
|
scrollbarStyleInjected = true;
|
|
1486
1490
|
const style = document.createElement("style");
|
|
1487
|
-
style.textContent =
|
|
1491
|
+
style.textContent = INJECTED_CSS;
|
|
1488
1492
|
document.head.appendChild(style);
|
|
1489
1493
|
}
|
|
1490
1494
|
function DefaultIoIndicator({ on }) {
|