isolate library dialog styles

This commit is contained in:
Denys Vuika
2018-11-27 13:16:40 +00:00
parent 9955de01e7
commit cd46070368
2 changed files with 27 additions and 22 deletions
+22 -20
View File
@@ -1,27 +1,29 @@
.mat-radio-group {
display: flex;
flex-direction: column;
margin: 0 0 20px 0;
}
.app-library-dialog {
.mat-radio-group {
display: flex;
flex-direction: column;
margin: 0 0 20px 0;
}
.mat-radio-group .mat-radio-button {
margin: 10px 0;
}
.mat-radio-group .mat-radio-button {
margin: 10px 0;
}
.mat-form-field {
width: 100%;
}
.mat-form-field {
width: 100%;
}
mat-form-field {
padding-top: 20px;
}
mat-form-field {
padding-top: 20px;
}
.actions-buttons {
display: flex;
flex-direction: row;
justify-content: flex-end;
.actions-buttons {
display: flex;
flex-direction: row;
justify-content: flex-end;
.mat-button {
text-transform: uppercase;
.mat-button {
text-transform: uppercase;
}
}
}
+5 -2
View File
@@ -21,7 +21,8 @@ import {
OnInit,
Output,
EventEmitter,
OnDestroy
OnDestroy,
ViewEncapsulation
} from '@angular/core';
import {
FormBuilder,
@@ -38,7 +39,9 @@ import { debounceTime, mergeMap, takeUntil } from 'rxjs/operators';
@Component({
selector: 'app-library-dialog',
styleUrls: ['./library.dialog.scss'],
templateUrl: './library.dialog.html'
templateUrl: './library.dialog.html',
encapsulation: ViewEncapsulation.None,
host: { class: 'app-library-dialog' }
})
export class LibraryDialogComponent implements OnInit, OnDestroy {
@Output()