Skip to content

Commit

Permalink
dropdown options fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJ104 committed Nov 25, 2024
1 parent afe930e commit 1db41d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/dropDown/dropDown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,12 @@ export default function LangDropDown() {
{locales.map((language, index) => (
<div key={index} className={styles.option}>
<div className={styles.divider} alt="Divider"></div>
<option
<div
className={styles.option_text}
value={language.code}
onClick={() => clickLanguage(language.code, language.name)}
>
{language.name}
</option>
</div>
</div>
))}
</div>
Expand Down
1 change: 1 addition & 0 deletions src/styles/components/dropDown/dropDown.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
font-weight: 400;
line-height: normal;
width: 50%;
min-width: fit-content;
}

.vDivider {
Expand Down

0 comments on commit 1db41d9

Please sign in to comment.