Skip to content

Commit

Permalink
#3698: Fix modal sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
anilsonmez-simsoft committed Oct 15, 2021
1 parent 4f44922 commit faf1080
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion client/src/components/RelatedObjectNoteModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@ const RelatedObjectNoteModal = ({
const edit = !!note.uuid

return (
<Modal centered show={showModal} onHide={close} style={{ zIndex: "1300" }}>
<Modal
centered
show={showModal}
onHide={close}
style={{ zIndex: "1300" }}
dialogClassName="rich-text-modal"
>
<Formik
enableReinitialize
onSubmit={onSubmit}
Expand Down
4 changes: 2 additions & 2 deletions client/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -1134,8 +1134,8 @@ header.searchPagination {
opacity: 1;
}

.modal-dialog {
width: 650px;
.rich-text-modal {
min-width: 650px;
}

@page {
Expand Down

0 comments on commit faf1080

Please sign in to comment.