@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.mjs
CHANGED
|
@@ -1375,6 +1375,8 @@ var defaults = {
|
|
|
1375
1375
|
itemBtn: {
|
|
1376
1376
|
flex: 1,
|
|
1377
1377
|
minWidth: 0,
|
|
1378
|
+
display: "flex",
|
|
1379
|
+
alignItems: "center",
|
|
1378
1380
|
background: "transparent",
|
|
1379
1381
|
border: "none",
|
|
1380
1382
|
padding: "0.5rem 0.9rem",
|
|
@@ -1388,7 +1390,8 @@ var defaults = {
|
|
|
1388
1390
|
display: "flex",
|
|
1389
1391
|
alignItems: "center",
|
|
1390
1392
|
gap: "0.4rem",
|
|
1391
|
-
width: "100%"
|
|
1393
|
+
width: "100%",
|
|
1394
|
+
flex: 1
|
|
1392
1395
|
},
|
|
1393
1396
|
channelNum: {
|
|
1394
1397
|
flexShrink: 0,
|
|
@@ -1439,15 +1442,16 @@ var defaults = {
|
|
|
1439
1442
|
color: colors.text
|
|
1440
1443
|
}
|
|
1441
1444
|
};
|
|
1442
|
-
var
|
|
1445
|
+
var INJECTED_CSS = `
|
|
1443
1446
|
.cris-co-matrix-scroll::-webkit-scrollbar { display: none; }
|
|
1447
|
+
.cris-co-matrix-item > div:first-child > .cris-button { width: 100%; }
|
|
1444
1448
|
`;
|
|
1445
1449
|
var scrollbarStyleInjected = false;
|
|
1446
1450
|
function injectScrollbarStyle() {
|
|
1447
1451
|
if (scrollbarStyleInjected) return;
|
|
1448
1452
|
scrollbarStyleInjected = true;
|
|
1449
1453
|
const style = document.createElement("style");
|
|
1450
|
-
style.textContent =
|
|
1454
|
+
style.textContent = INJECTED_CSS;
|
|
1451
1455
|
document.head.appendChild(style);
|
|
1452
1456
|
}
|
|
1453
1457
|
function DefaultIoIndicator({ on }) {
|