Skip to content

Commit

Permalink
fix: lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mikespudwebb committed Aug 16, 2022
1 parent 0bd794b commit ffec850
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Expand Up @@ -2,6 +2,7 @@
display: flex;
flex-direction: column;
width: 200px;

td-loading-mask {
margin-bottom: 8px;
}
Expand Down
1 change: 1 addition & 0 deletions libs/angular/loading/_loading-theme.scss
Expand Up @@ -2,6 +2,7 @@

@mixin td-loading-theme($theme) {
$background: map-get($theme, background);

.td-loading-wrapper {
&.td-overlay .td-loading {
background: rgba(mat-color($background, dialog), 0.8);
Expand Down
5 changes: 5 additions & 0 deletions libs/angular/loading/src/loading.component.scss
@@ -1,9 +1,11 @@
.td-loading-wrapper {
position: relative;
display: block;

&.td-fullscreen {
position: inherit;
}

.td-loading {
// layout
box-sizing: border-box;
Expand All @@ -18,6 +20,7 @@
// flex
flex: 1;
}

&.td-overlay {
.td-loading {
position: absolute;
Expand All @@ -26,6 +29,7 @@
left: 0;
right: 0;
z-index: 1000;

mat-progress-bar {
position: absolute;
top: 0;
Expand All @@ -34,6 +38,7 @@
}
}
}

&.td-overlay-circular {
.td-loading {
bottom: 0;
Expand Down

0 comments on commit ffec850

Please sign in to comment.