Skip to content

Commit

Permalink
Merge pull request #95 from OpenLMIS-Angola/OAM-73-remove-x-button
Browse files Browse the repository at this point in the history
OAM-73: Removed not needed x button from modal
  • Loading branch information
DominikNoga authored May 14, 2024
2 parents d939d0c + 3d249f5 commit 22b920b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
10 changes: 0 additions & 10 deletions src/react-components/modals/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,6 @@ $padding-value: 1rem;
font-size: $font-size-h3;
font-weight: $headings-font-weight;
}

.modal-close-button {
color: red;
@include icon-only('times');
font-size: $font-size-h3;
&:hover {
cursor: pointer;
color: darken(red, 10%);
}
}
}

.react-modal-body {
Expand Down
4 changes: 0 additions & 4 deletions src/requisition-order-create/order-create-summary-modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ const OrderCreateSummaryModal = ({ isOpen, orders, onSaveClick, onModalClose })
<>
<div className="react-modal-header">
<span className='modal-title'>Orders Summary</span>
<span
className="modal-close-button"
onClick={() => onModalClose()}
></span>
</div>
<div className="react-modal-body">
<TabNavigation
Expand Down

0 comments on commit 22b920b

Please sign in to comment.