Skip to content

Commit

Permalink
fix: modal border (#1135)
Browse files Browse the repository at this point in the history
see the issue for details

fixes issue #1096
  • Loading branch information
DanielPalafox authored Sep 15, 2021
1 parent 2a6126f commit 1611f4e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app/cdk/modal/modal/modal.component.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
:host {
margin: -24px;
display: flex;
border: 2px solid;

.content-wrapper {
max-height: 100%;
Expand Down
16 changes: 16 additions & 0 deletions src/app/cdk/modal/modal/modal.component.scss-theme.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@import '~@angular/material/theming';
@import 'src/assets/scss/material.orcid-theme.scss';

@mixin modal-footer-theme($theme) {
$primary: map-get($theme, primary);
$accent: map-get($theme, accent);
$warn: map-get($theme, accent);
$foreground: map-get($theme, foreground);
$background: map-get($theme, background);

:host {
border-color: mat-color($background, ui-background-darkest) !important;
}
}

@include modal-footer-theme($orcid-app-theme);

0 comments on commit 1611f4e

Please sign in to comment.