@axzydev/axzy_ui_system 1.8.10 → 1.8.11
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/layered.css +1 -1
- package/package.json +1 -1
- package/src/components/organisms/bento/bento.tsx +1 -1
- package/src/index.css +8 -0
package/package.json
CHANGED
|
@@ -446,7 +446,7 @@ export function ITBentoStatStrip({ items, activeId, onSelect, stack = false, sta
|
|
|
446
446
|
|
|
447
447
|
return (
|
|
448
448
|
<div className={clsx("it-bento-statstrip", className)}>
|
|
449
|
-
<div className="it-bento-statstrip__grid" style={{ ["--it-bento-cols" as string]: Math.min(items.length,
|
|
449
|
+
<div className="it-bento-statstrip__grid" style={{ ["--it-bento-cols" as string]: Math.min(items.length, 6) }}>
|
|
450
450
|
{items.map((item) => {
|
|
451
451
|
const on = item.id === activeId;
|
|
452
452
|
const Tag = clickable ? "button" : "div";
|
package/src/index.css
CHANGED
|
@@ -1058,6 +1058,14 @@
|
|
|
1058
1058
|
opacity: 1;
|
|
1059
1059
|
}
|
|
1060
1060
|
|
|
1061
|
+
/* Cinco o seis cifras caben en una fila en escritorio; en pantallas medianas se
|
|
1062
|
+
acomodan de tres y de dos, para que nunca quede una sola tarjeta colgando. */
|
|
1063
|
+
@media (max-width: 1400px) {
|
|
1064
|
+
.it-bento-statstrip__grid {
|
|
1065
|
+
grid-template-columns: repeat(min(var(--it-bento-cols, 4), 3), minmax(0, 1fr));
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1061
1069
|
@media (max-width: 760px) {
|
|
1062
1070
|
.it-bento-statstrip__grid {
|
|
1063
1071
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|