Skip to content

Commit 446fe54

Browse files
authored
Merge pull request #668 from dxc-technology/fix-664
[Patch] Fixed margin with overlay in spinner
2 parents 5d4600d + 06ee010 commit 446fe54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/dxc-ngx-cdk/src/lib/dxc-spinner/dxc-spinner.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ export class DxcSpinnerComponent implements OnInit {
287287

288288
getDynamicStyle(inputs) {
289289
return css`
290-
${this.utils.getMargins(inputs.margin)}
290+
${inputs.mode != "overlay" ? this.utils.getMargins(inputs.margin) : ""}
291291
display: inline-block;
292292
&.overlay {
293293
height: 100vh;

0 commit comments

Comments
 (0)