Skip to content

Commit

Permalink
fix(material-experimental/mdc-progress-spinner): set to display block (
Browse files Browse the repository at this point in the history
…#22618)

(cherry picked from commit 1371a85)
  • Loading branch information
andrewseguin authored and annieyw committed May 4, 2021
1 parent 35c0483 commit 638ed61
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 638ed61

Please sign in to comment.