Skip to content

Commit

Permalink
Removed duplicate close button styles
Browse files Browse the repository at this point in the history
  • Loading branch information
aadhil2k4 committed Dec 28, 2024
1 parent 018f741 commit e640b18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/screens/OrganizationEvents/OrganizationEvents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ function organizationEvents(): JSX.Element {
<Button
variant="danger"
onClick={hideCreateEventModal}
className={styles.closeButton}
className={styles.closeButtonOrganizationEvents}
data-testid="createEventModalCloseBtn"
>
<i className="fa fa-times"></i>
Expand Down
4 changes: 2 additions & 2 deletions src/style/app.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -885,14 +885,14 @@ hr {
width: 65%;
}

.closeButton {
.closeButtonOrganizationEvents {
color: var(--delete-button-color);
margin-right: 5px;
background-color: var(--delete-button-bg);
border: white;
}

.closeButton:hover {
.closeButtonOrganizationEvents:hover {
color: var(--delete-button-bg) !important;
background-color: var(--delete-button-color) !important;
border: white;
Expand Down

0 comments on commit e640b18

Please sign in to comment.