Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DenysVuika committed May 26, 2021
1 parent 19ef73c commit 3837864
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 17 deletions.
2 changes: 0 additions & 2 deletions lib/core/form/components/widgets/form.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import '~@angular/material/theming';

@mixin adf-form-theme($theme) {
$primary: map-get($theme, primary);
$accent: map-get($theme, accent);
Expand Down
2 changes: 0 additions & 2 deletions lib/core/layout/components/header/header.component.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import '~@angular/material/theming';

@mixin adf-header-layout-theme($theme) {
$primary: map-get($theme, primary);
$accent: map-get($theme, accent);
Expand Down
2 changes: 0 additions & 2 deletions lib/core/styles/snackbar.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import '~@angular/material/theming';

@mixin adf-snackbar-theme($theme) {
$warn: map-get($theme, warn);
$accent: map-get($theme, accent);
Expand Down
18 changes: 7 additions & 11 deletions lib/core/viewer/components/pdf-viewer-password-dialog.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
@import '~@angular/material/theming';

.adf-fill-remaining-space {
flex: 1 1 auto;
}

.adf-full-width {
width: 100%;
}

@mixin adf-dialog-theme($theme) {
.adf-fill-remaining-space {
flex: 1 1 auto;
}

.adf-full-width {
width: 100%;
}

$primary: map-get($theme, primary);

Expand All @@ -19,5 +16,4 @@
.adf-dialog-action-button:enabled {
color: mat-color($primary);
}

}

0 comments on commit 3837864

Please sign in to comment.