팝업 닫기버튼 추가

This commit is contained in:
khk 2020-01-28 15:40:18 +09:00
parent fe041f1ea2
commit b9e135dfab
3 changed files with 22 additions and 2 deletions

View File

@ -1,6 +1,9 @@
<mat-card class="confirm-card mat-elevation-z"> <mat-card class="confirm-card mat-elevation-z">
<mat-card-header> <mat-card-header>
<mat-card-title>{{ data.title }}</mat-card-title> <mat-card-title>{{ data.title }}</mat-card-title>
<button class="icon-button btn-dialog-close">
<i class="mdi mdi-window-close"></i>
</button>
</mat-card-header> </mat-card-header>
<mat-card-content> <mat-card-content>
<div class="add-row"> <div class="add-row">

View File

@ -1,5 +1,14 @@
::ng-deep .mat-card-header-tex { ::ng-deep .mat-card-header {
margin: 0; .mat-card-header-tex {
margin: 0;
}
.btn-dialog-close {
font-size: 20px;
display: flex;
margin-left: auto;
align-self: flex-start;
color: #444444;
}
} }
.mat-form-field { .mat-form-field {
width: 100%; width: 100%;

View File

@ -24,3 +24,11 @@ mat-icon {
} }
} }
} }
.icon-button {
background: none;
border: none;
i {
font-family: 'material-outline-icons';
}
}