Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CollectionsDialog: add close button (fixes #6882) #7001

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add close button
  • Loading branch information
dyeh123 committed Aug 19, 2020
commit 41a1f2c4c0463e075ded559b475a7f0ce13f3ef3
13 changes: 9 additions & 4 deletions src/app/shared/forms/planet-tag-input-dialog.component.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
<ng-container [ngSwitch]="mode">
<span mat-dialog-title i18n *ngSwitchCase="'filter'">Collections</span>
<span mat-dialog-title i18n *ngSwitchCase="'add'">Change Collections</span>
</ng-container>
<div id="header">
<ng-container [ngSwitch]="mode">
<span mat-dialog-title i18n *ngSwitchCase="'filter'">Collections</span>
<span mat-dialog-title i18n *ngSwitchCase="'add'">Change Collections</span>
</ng-container>
<button mat-icon-button mat-dialog-close>
<mat-icon>close</mat-icon>
</button>
</div>
<mat-dialog-content>
<mat-form-field class="full-width">
<input matInput i18n-placeholder placeholder="Filter by Collection Name" [ngModel]="filterValue" (ngModelChange)="updateFilter($event)">
Expand Down
4 changes: 4 additions & 0 deletions src/app/shared/forms/planet-tag-input-dialog.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ import { DialogsPromptComponent } from '../../shared/dialogs/dialogs-prompt.comp
:host mat-dialog-actions {
padding: 0;
}
:host #header {
display: flex;
justify-content: space-between;
}
` ]
})
export class PlanetTagInputDialogComponent {
Expand Down