change cursor to pointer for the dropdown

pull/4197/head
Joseph Izang 1 year ago committed by Aniket
parent c61e6c21ef
commit c9505eec57
  1. 5
      libs/remix-ui/home-tab/src/lib/components/homeTablangOptions.tsx

@ -32,13 +32,14 @@ export function LanguageOptions({ plugin }: { plugin: any }) {
{langOptions} {langOptions}
</Dropdown.Toggle> </Dropdown.Toggle>
<Dropdown.Menu className="dropdown-menu langSelector" style={{ minWidth: '2rem', backgroundColor: 'var(--body-bg)'}}> <Dropdown.Menu className="dropdown-menu langSelector" style={{ minWidth: '2rem', backgroundColor: 'var(--body-bg)'}}>
{['EN', 'ES', 'FR', 'IT', 'ZH'].map(lang => ( {['EN', 'ES', 'FR', 'IT', 'ZH'].map((lang, index) => (
<DropdownItem as={'span'} className="p-2" onClick={() => <DropdownItem as={'span'} className="p-2" onClick={() =>
{ {
changeLanguage(lang.toLowerCase()) changeLanguage(lang.toLowerCase())
setLangOptions(lang) setLangOptions(lang)
}} }}
style={{ color: 'var(--text)'}} style={{ color: 'var(--text)', cursor: 'pointer' }}
key={index}
> >
{lang} {lang}
</DropdownItem> </DropdownItem>

Loading…
Cancel
Save