I am currently working with different content, with different materials Grid, I would like my tiles to be automatically height, but using the tag, but I I'm not the result I want to get, so I have to use the tag.
my code:
  <mat-grid-list class="quot-service-grid" cols="9" [rowHeight]="fit">
    <mat-grid-tile [colspan]="6" class="quot-service-element">
      <div class="quot-service-inf">
        <h2 class="quot-service-name lw-grey">{{service.name}}</h2>
        <p class="lw-grey">{{service.description}}</p>
      </div>
    </mat-grid-tile>
    <mat-grid-tile class="left quot-service-comment" [colspan]="3">
    </mat-grid-tile>
  </mat-grid-list>
Thanks
As you can see here: https://github.com/angular/material2/issues/10395
Regrettably, Angular has the worst Google material implementation (in comparison to VueJS/Vuetify or React/MaterialUI),..
In your case Angular Flex Layout would be the better solution: https://github.com/angular/flex-layout
Some demos are here online; https://tburleson-layouts-demos.firebaseapp.com/#/docs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With