Skip to content

Commit 9a4ca8b

Browse files
committed
fix(module:modal): empty modal footer style
1 parent 3bc67e1 commit 9a4ca8b

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

devui/modal/modal-footer.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="modal-footer" [class.footer-empty]="!buttons?.length">
1+
<div *ngIf="buttons?.length" class="modal-footer">
22
<d-button
33
*ngFor="let button of buttons"
44
[bsSize]="'md'"
@@ -9,6 +9,6 @@
99
[width]="button.btnwidth"
1010
[autofocus]="button.autofocus"
1111
[disabled]="button.disabled"
12-
>{{ button.text }}
12+
>{{ button.text }}
1313
</d-button>
1414
</div>
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
.modal-footer {
22
padding-bottom: 24px;
3-
4-
&.footer-empty {
5-
padding: 0;
6-
}
73
}

0 commit comments

Comments
 (0)