Skip to content

Commit

Permalink
separate modal content class and add min height
Browse files Browse the repository at this point in the history
  • Loading branch information
vraja-pro authored and pls78 committed Dec 4, 2024
1 parent 077cd5d commit 3997998
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const Modal = ( { isOpen, onClose, insightsLink, learnMoreLink, children
</BaseModal.Title>
</BaseModal.Container.Header>
<BaseModal.Container.Content
className="yst-p-6 yst-m-0 yst-max-h-[60vh] yst-overflow-y-auto"
className="yst-related-keyphrase-modal-content yst-m-0"
>
{ children }
</BaseModal.Container.Content>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
.yst-link-icon {
@apply yst-w-3 yst-h-3;
}
}
}

.yst-related-keyphrase-modal-content {
max-height: 60vh;
min-height: 350px;
@apply yst-p-6 yst-overflow-y-auto;
}
}
}

0 comments on commit 3997998

Please sign in to comment.