title: Angular 5 / Material, how to remove vertical scroll in Mat Dialog?
body: <p>I am trying to remove the vertical scrolling in a Material Dialog.</p>
  
  <p>I was trying with CSS</p>
  
  <pre><code>.mat-dialog-container /deep/ {
     overflow-y: hidden;
  }
  </code></pre>
  
  <p>and also with the code in the parent component</p>
  
  <pre><code>this.dialog._overlayContainer._containerElement.style.overflowY = "hidden";
  </code></pre>
  
  <p>But, there was no way to do that.</p>
  
  <p>Does it know anyone how I can achive that?</p>
  
  <p>Thanks</p>