mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 23:00:58 +00:00
style dialog component and close button
This commit is contained in:
parent
6e1828ff63
commit
95f7a26bce
@ -12,6 +12,7 @@ import { MatCardModule } from '@angular/material/card';
|
||||
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
||||
import { MatDialogModule } from '@angular/material/dialog';
|
||||
import { MatListModule } from '@angular/material/list'
|
||||
import { MatButtonModule } from '@angular/material/button';
|
||||
import { FlexLayoutModule } from '@angular/flex-layout';
|
||||
|
||||
import { httpInterceptorProviders } from './http-interceptors';
|
||||
@ -64,6 +65,7 @@ import { CardComponent, CardTitleComponent, CardContentComponent } from './card/
|
||||
MatProgressBarModule,
|
||||
MatDialogModule,
|
||||
MatListModule,
|
||||
MatButtonModule,
|
||||
FlexLayoutModule,
|
||||
HttpClientModule,
|
||||
HttpClientXsrfModule.withOptions({
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div mat-dialog-content>
|
||||
<mat-list dense>
|
||||
<div mat-dialog-content fxLayout="column" fxLayoutAlign="space-between center">
|
||||
<mat-list>
|
||||
<mat-list-item *ngFor='let message of messageService.messages'>{{message}}</mat-list-item>
|
||||
</mat-list>
|
||||
<button mat-button [mat-dialog-close] cdkFocusInitial>Close</button>
|
||||
<button mat-stroked-button [mat-dialog-close] cdkFocusInitial>Close</button>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user