:host { display: flex; width: 100%; } mat-card { display: flex; flex-direction: column; width: 100%; background-color: var(--sg-background); } mat-card > mat-card-content { flex: 1 1 auto; min-height: 0; align-items: center; padding: 0px; } .graph { width: 100%; height: 100%; min-height: 60vh; overscroll-behavior: contain; touch-action: none; user-select: none; cursor: grab; }