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.
This commit is contained in:
@@ -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); }
|
||||
|
||||
Reference in New Issue
Block a user