Skip to content

Commit

Permalink
fix: remove remaining space in approve/reject modals
Browse files Browse the repository at this point in the history
  • Loading branch information
fterra-encora committed Jan 9, 2024
1 parent 1fa77bf commit d50fbac
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions frontend/src/assets/styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,15 @@ cds-modal-footer {
padding: 1rem 1rem 1rem 1rem;
}

cds-modal:is(#reject-modal, #approve-modal) cds-modal-footer {
padding-top: 0;
height: auto;
}

cds-modal:is(#reject-modal, #approve-modal) cds-modal-footer-button {
height: min-content;
}

cds-modal-footer-button::part(button) {
border-radius: 0.25rem;
height: 75%;
Expand All @@ -1022,6 +1031,10 @@ cds-modal-footer-button::part(button) {
--cds-button-danger-hover: var(--light-theme-button-danger-hover, #b32001);
}

cds-modal:is(#reject-modal, #approve-modal) cds-modal-footer-button::part(button) {
padding-bottom: 1rem;
}

.cds--modal-close-btn {
margin-right: 0.25rem;
}
Expand Down

0 comments on commit d50fbac

Please sign in to comment.