Skip to content

Commit

Permalink
Merge pull request #566 from civicrm/PROD-190-alert-zindex
Browse files Browse the repository at this point in the history
PROD-190: Ensure alert is visible when modal is displayed
  • Loading branch information
olayiwola-compucorp authored May 10, 2024
2 parents 95f6aca + 6bc89d2 commit be4cb81
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scss/civicrm/common/_block-shadows.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
* then the shadows will overlap. The method makes it visually look like there is
* just a single shadow underneath the pair.
*/


/* stylelint-disable selector-max-id, selector-max-compound-selectors */
@mixin block-shadows-for-pair () {
position: relative;

Expand Down Expand Up @@ -69,6 +70,11 @@
z-index: 1;
}

// Allow alert have higher z-index than modal
.ui-dialog-open #crm-container {
z-index: unset;
}

@include block-shadows-for-h3-crm-form-block-pair();

*:not(.crm-form-block) {
Expand Down

0 comments on commit be4cb81

Please sign in to comment.