Skip to content

Commit

Permalink
fix(modal): close icon style override fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-frueh committed Jun 12, 2024
1 parent d99e374 commit 5fb66ef
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions projects/cashmere/src/lib/sass/modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,13 @@ $modal-border: 1px solid $gray-200;
}

@mixin hc-modal-close-icon() {
position: absolute;
// !important tag necessary to override hc-icon-button class styles
position: absolute !important;
top: 10px;
right: 15px;
background-image: url($ico-times-gray);
background-repeat: no-repeat;
background-position: center;
background-image: url($ico-times-gray) !important;
background-repeat: no-repeat !important;
background-position: center !important;

// Reposition the close icon button for fullscreen modals
@include media-breakpoint-down(md) {
Expand Down

0 comments on commit 5fb66ef

Please sign in to comment.