We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bc67e1 commit 9a4ca8bCopy full SHA for 9a4ca8b
devui/modal/modal-footer.component.html
@@ -1,4 +1,4 @@
1
-<div class="modal-footer" [class.footer-empty]="!buttons?.length">
+<div *ngIf="buttons?.length" class="modal-footer">
2
<d-button
3
*ngFor="let button of buttons"
4
[bsSize]="'md'"
@@ -9,6 +9,6 @@
9
[width]="button.btnwidth"
10
[autofocus]="button.autofocus"
11
[disabled]="button.disabled"
12
- >{{ button.text }}
+ >{{ button.text }}
13
</d-button>
14
</div>
devui/modal/modal-footer.component.scss
@@ -1,7 +1,3 @@
.modal-footer {
padding-bottom: 24px;
-
- &.footer-empty {
5
- padding: 0;
6
- }
7
}
0 commit comments