fix(ui): use native browser styling for flag select

Match 4chan's unstyled flag dropdown by excluding it from themed form select rules.
This commit is contained in:
Tommaso Casaburi
2026-05-24 23:30:59 +07:00
parent 639c627a04
commit 2030b8c5bb
4 changed files with 15 additions and 11 deletions
+8 -1
View File
@@ -522,7 +522,14 @@ const ReplyModal = ({ closeModal, showReplyModal, parentCid, parentNumber, threa
</div>
{flagOptions.length > 0 && (
<div>
<select key={flagOptions.map((option) => option.value).join('|')} aria-label={t('flag')} ref={flagRef} defaultValue={flagOptions[0]?.value}>
<select
key={flagOptions.map((option) => option.value).join('|')}
name='flag'
aria-label={t('flag')}
className={styles.flagSelector}
ref={flagRef}
defaultValue={flagOptions[0]?.value}
>
{flagOptions.map((option) => (
<option key={option.value} value={option.value}>
{option.label}