We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87e1107 commit e89852bCopy full SHA for e89852b
specifyweb/frontend/js_src/lib/components/Atoms/Form.tsx
@@ -352,9 +352,9 @@ export const Select = wrap<
352
* the background in dark-mode. This is a fix:
353
*/
354
if (props.required !== true && props.multiple === true) {
355
- selected.map((option) => option.classList.add('dark:bg-neutral-100'));
+ selected.map((option) => option.classList.add('dark:bg-neutral-500')); // highlights selected object less bright
356
unselected.map((option) =>
357
- option.classList.remove('dark:bg-neutral-100')
+ option.classList.remove('dark:bg-neutral-500') // prevents a previously selected option from remaining highlighted
358
);
359
}
360
const value = (event.target as HTMLSelectElement).value;
0 commit comments