Skip to content

Commit

Permalink
EDSC-4063: fix styling on modals overriding the close icon
Browse files Browse the repository at this point in the history
  • Loading branch information
eudoroolivares2016 committed Aug 29, 2024
1 parent 380ebef commit 6923988
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
font-size: 1.5rem;
}

.close {
.edsc-modal__close-btn {
position: absolute;
right: 1rem;
top: 1rem;
Expand Down
1 change: 1 addition & 0 deletions static/src/js/components/EDSCModal/EDSCModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export const EDSCModal = ({
{title}
</Modal.Title>
<Button
className="edsc-modal__close-btn"
title="Close EDSCModal"
icon={Close}
iconSize="0.80rem"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
right: 0.5rem;
}

.close {
.edsc-modal__close-btn {
display: flex;
align-items: center;
justify-content: center;
Expand Down

0 comments on commit 6923988

Please sign in to comment.