Skip to content

Commit 4a0b580

Browse files
eranshmilbrandonroberts
authored andcommitted
fix(example): adjust styles to display spinner correctly (#1203)
1 parent 91cc6ed commit 4a0b580

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example-app/app/books/components/book-search.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@ import { Component, Output, Input, EventEmitter } from '@angular/core';
3030
3131
.mat-form-field {
3232
min-width: 300px;
33+
margin-right: 10px; // Make room for the spinner
3334
}
3435
3536
.mat-spinner {
3637
position: relative;
3738
top: 10px;
3839
left: 10px;
39-
opacity: 0;
40-
padding-left: 60px; // Make room for the spinner
40+
visibility: hidden;
4141
}
4242
4343
.mat-spinner.show {
44-
opacity: 1;
44+
visibility: visible;
4545
}
4646
`,
4747
],

0 commit comments

Comments
 (0)