Skip to content

Commit

Permalink
fix: issue 103
Browse files Browse the repository at this point in the history
  • Loading branch information
prrajput1199 committed May 21, 2024
1 parent bae782e commit ff6ffb2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/components/Header.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@
border-width: 0;
border-radius: 0rem 0.25rem 0.25rem 0rem;
}
.header_dropdown{
height: 300px;
overflow-y: auto;
}

/* Mobile Breakpoints */
@media (max-width: 576px) {
Expand Down
4 changes: 3 additions & 1 deletion src/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ const Header = ({ language, setLanguage, setInputSearch }) => {
>
{language}
</Dropdown.Toggle>
<Dropdown.Menu>
<Dropdown.Menu
className="header_dropdown"
>
{langugagesData.languages.map((lang, index) => {
return (
<Dropdown.Item key={index} eventKey={lang}>
Expand Down

0 comments on commit ff6ffb2

Please sign in to comment.