From 638ed6179c11ce033143470802399d9ca60f45e9 Mon Sep 17 00:00:00 2001 From: Andrew Seguin Date: Tue, 4 May 2021 13:55:22 -0600 Subject: [PATCH] fix(material-experimental/mdc-progress-spinner): set to display block (#22618) (cherry picked from commit 1371a85b4260e52cfb315310c8a2f2576431a65b) --- .../mdc-progress-spinner/progress-spinner.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/material-experimental/mdc-progress-spinner/progress-spinner.scss b/src/material-experimental/mdc-progress-spinner/progress-spinner.scss index 27748a36dcd5..8b5faf02374c 100644 --- a/src/material-experimental/mdc-progress-spinner/progress-spinner.scss +++ b/src/material-experimental/mdc-progress-spinner/progress-spinner.scss @@ -4,6 +4,9 @@ @include mdc-circular-progress-core-styles($query: $mat-base-styles-query); .mat-mdc-progress-spinner { + // Explicitly set to `block` since the browser defaults custom elements to `inline`. + display: block; + // Prevents the spinning of the inner element from affecting layout outside of the spinner. overflow: hidden;