mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user