Skip to content

Commit

Permalink
Merge pull request #541 from codeforpdx/539-Enhancement-Add-Max-Heigh…
Browse files Browse the repository at this point in the history
…t-For-Sign-In-Autocomplete-Component

Add max height for autocomplete and signInModal components
  • Loading branch information
rioredwards authored Nov 27, 2023
2 parents d2c555a + 85e78fa commit 5dfdc94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Modals/SignInModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const SignInModal = ({ showSignInModal, setShowSignInModal }) => (
aria-labelledby="dialog-title"
aria-describedby="dialog-description"
onClose={() => setShowSignInModal(false)}
PaperProps={{ sx: { maxHeight: '20rem', overflow: 'clip' } }}
>
<DialogTitle id="dialog-title" textAlign="center">
Sign In
Expand Down
1 change: 1 addition & 0 deletions src/components/NavBar/OidcLoginComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ const OidcLoginComponent = ({ setShowSignInModal }) => {
onInputChange={(_, newInputValue) => {
setOidcIssuer(newInputValue);
}}
ListboxProps={{ style: { maxHeight: '12rem' } }}
renderInput={(renderParams) => (
<TextField
{...renderParams}
Expand Down

0 comments on commit 5dfdc94

Please sign in to comment.