profile popup close button added
This commit is contained in:
leejinho 2020-01-29 14:59:56 +09:00
parent 9bca5178b7
commit bb22a17baf
16 changed files with 32 additions and 13 deletions

View File

@ -1,4 +1,4 @@
::ng-deep .mat-card-header {
.mat-card-header {
.mat-card-header-text {
margin: 0;
}

View File

@ -1,4 +1,4 @@
::ng-deep .mat-card-header {
.mat-card-header {
.mat-card-header-text {
margin: 0;
}

View File

@ -1,4 +1,4 @@
::ng-deep .mat-card-header {
.mat-card-header {
.mat-card-header-text {
margin: 0;
}

View File

@ -1,4 +1,4 @@
::ng-deep .mat-card-header {
.mat-card-header {
.mat-card-header-text {
margin: 0;
}

View File

@ -1,4 +1,4 @@
::ng-deep .mat-card-header {
.mat-card-header {
.mat-card-header-text {
margin: 0;
}

View File

@ -1,4 +1,4 @@
::ng-deep .mat-card-header {
.mat-card-header {
.mat-card-header-text {
margin: 0;
}

View File

@ -1,4 +1,4 @@
::ng-deep .mat-card-header {
.mat-card-header {
.mat-card-header-text {
margin: 0;
}

View File

@ -1,4 +1,4 @@
::ng-deep .mat-card-header {
.mat-card-header {
.mat-card-header-text {
margin: 0;
}

View File

@ -17,5 +17,6 @@
(toggleBuddy)="onClickToggleBuddy($event)"
(uploadProfileImage)="onUploadProfileImage($event)"
(updateIntro)="onUpdateIntro($event)"
(close)="onClose($event)"
>
</ucap-profile-profile>

View File

@ -463,4 +463,8 @@ export class ProfileDialogComponent implements OnInit, OnDestroy {
})
);
}
onClose() {
this.dialogRef.close();
}
}

View File

@ -1,4 +1,4 @@
::ng-deep .mat-card-header {
.mat-card-header {
.mat-card-header-text {
margin: 0;
}

View File

@ -384,4 +384,8 @@
</div>
</mat-card-actions>
</mat-card-content>
<button class="icon-button btn-dialog-close" (click)="onClose()">
<i class="mdi mdi-window-close"></i>
</button>
</mat-card>

View File

@ -12,7 +12,7 @@
word-wrap: break-word;
}
}
::ng-deep .mat-card-header-text {
.mat-card-header-text {
.mat-card-subtitle {
color: rgb(256, 256, 256, 0.7) !important;
}
@ -262,3 +262,8 @@
margin-left: 8px;
}
}
.btn-dialog-close {
}

View File

@ -63,11 +63,12 @@ export class ProfileComponent implements OnInit {
userInfo: UserInfoSS;
isBuddy: boolean;
}>();
@Output()
uploadProfileImage = new EventEmitter<FileUploadItem>();
@Output()
updateIntro = new EventEmitter<string>();
@Output()
close = new EventEmitter();
@ViewChild('profileImageFileInput', { static: false })
profileImageFileInput: ElementRef<HTMLInputElement>;
@ -250,4 +251,8 @@ export class ProfileComponent implements OnInit {
}
return rtn;
}
onClose() {
this.close.emit();
}
}

View File

@ -80,7 +80,7 @@ $thumbnail-msize: 40px;
display: flex;
flex: 0 0 auto;
margin: 0;
padding: 0;
padding: 0 5px 0 0;
.room-info {
flex-direction: column;

View File

@ -1,4 +1,4 @@
::ng-deep .mat-card-header {
.mat-card-header {
.mat-card-header-text {
margin: 0;
}