<!-- INCORRECT --><mds-price-table-header class="tablet:grid-cols-3"> <mds-price-table-list>...</mds-price-table-list></mds-price-table-header>
<!-- CORRECT --><mds-price-table> <mds-price-table-header class="tablet:grid-cols-3"> <mds-price-table-list>...</mds-price-table-list> </mds-price-table-header></mds-price-table><!-- INCORRECT --><mds-price-table-header class="tablet:grid-cols-3"> <div class="plans"> <mds-price-table-list>...</mds-price-table-list> <mds-price-table-list>...</mds-price-table-list> </div></mds-price-table-header>
<!-- CORRECT --><mds-price-table-header class="tablet:grid-cols-3"> <mds-price-table-list>...</mds-price-table-list> <mds-price-table-list>...</mds-price-table-list> <mds-price-table-list>...</mds-price-table-list></mds-price-table-header><!-- INCORRECT --><mds-price-table-header style="grid-template-columns: 1fr 1fr 1fr;"> ...</mds-price-table-header>
<!-- CORRECT --><mds-price-table-header class="tablet:grid-cols-3 desktop:grid-cols-4"> ...</mds-price-table-header><!-- INCORRECT: header has 4 columns, each feature row has 3 cells --><mds-price-table> <mds-price-table-header class="desktop:grid-cols-4"> <mds-text typography="h1">Piani</mds-text> <mds-price-table-list>...</mds-price-table-list> <mds-price-table-list>...</mds-price-table-list> <mds-price-table-list>...</mds-price-table-list> </mds-price-table-header> <mds-price-table-features> <mds-price-table-features-row> <mds-price-table-features-cell type="label">Utenti</mds-price-table-features-cell> <mds-price-table-features-cell type="text">10</mds-price-table-features-cell> <mds-price-table-features-cell type="text">20</mds-price-table-features-cell> </mds-price-table-features-row> </mds-price-table-features></mds-price-table>
<!-- CORRECT: one label cell plus one cell per plan, as many as the header columns --><mds-price-table> <mds-price-table-header class="tablet:grid-cols-3 desktop:grid-cols-4"> <mds-text typography="h1" class="tablet:col-span-3 desktop:col-span-1">Piani</mds-text> <mds-price-table-list>...</mds-price-table-list> <mds-price-table-list>...</mds-price-table-list> <mds-price-table-list>...</mds-price-table-list> </mds-price-table-header> <mds-price-table-features> <mds-price-table-features-row> <mds-price-table-features-cell type="label">Utenti</mds-price-table-features-cell> <mds-price-table-features-cell type="text">10</mds-price-table-features-cell> <mds-price-table-features-cell type="text">20</mds-price-table-features-cell> <mds-price-table-features-cell type="text">Illimitati</mds-price-table-features-cell> </mds-price-table-features-row> </mds-price-table-features></mds-price-table><!-- INCORRECT: leading title takes one column, disrupting plan alignment --><mds-price-table-header class="desktop:grid-cols-4"> <mds-text typography="h1">Scegli il piano</mds-text> <mds-price-table-list>...</mds-price-table-list> <mds-price-table-list>...</mds-price-table-list> <mds-price-table-list>...</mds-price-table-list></mds-price-table-header>
<!-- CORRECT: on tablet the title spans the full row; on desktop it takes one column --><mds-price-table-header class="tablet:grid-cols-3 desktop:grid-cols-4"> <mds-text typography="h1" class="tablet:col-span-3 desktop:col-span-1 desktop:py-600" > Scegli il piano </mds-text> <mds-price-table-list>...</mds-price-table-list> <mds-price-table-list>...</mds-price-table-list> <mds-price-table-list>...</mds-price-table-list></mds-price-table-header>