From 088d9d4550dc930ad71053b5753935579690829e Mon Sep 17 00:00:00 2001 From: rockdrigo Date: Mon, 9 Nov 2026 19:09:36 -0600 Subject: [PATCH] style(indicadores): opportunity cards of one height in the default layout How: the opportunity card grid gets grid-auto-rows: 1fr, so every row is as tall as its tallest card and all cards share that height (they already share the column width). Implications: CaCu and TEA cards no longer differ in height when one has a longer line; a card with much more text makes every row taller. Domains with a story size their cards in the story layout instead. --- src/app/features/indicadores/indicadores-page.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/features/indicadores/indicadores-page.scss b/src/app/features/indicadores/indicadores-page.scss index 480587a..7e7cc92 100644 --- a/src/app/features/indicadores/indicadores-page.scss +++ b/src/app/features/indicadores/indicadores-page.scss @@ -13,6 +13,8 @@ header p { color: var(--mat-sys-on-surface-variant); margin-bottom: 1.5rem; } .kpi-section, .graphic-section { min-width: 0; } .graphic-section { margin-top: var(--issste-space-6); padding-top: var(--issste-space-6); border-top: 1px solid var(--issste-border); } .kpi-grid, .catalog-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--issste-space-6); } +// Every card of a row of cards is as tall as the tallest one. +.kpi-grid { grid-auto-rows: 1fr; } .kpi-section .kpi-grid.kpi-grid-oculto { display: none; } .catalog-grid { align-items: stretch; } .reporte-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: var(--issste-space-3); margin-bottom: var(--issste-space-4); }