fix(layout): fixed the layout of the selector of the translator providers (#2701)

This commit is contained in:
Huang Xin
2025-12-13 12:14:12 +08:00
committed by GitHub
parent 5a20fae204
commit 6d42086fa7
2 changed files with 8 additions and 9 deletions
@@ -211,14 +211,12 @@ const TranslatorPopup: React.FC<TranslatorPopupProps> = ({
})}
</div>
)}
<div className='ml-auto'>
<Select
className='bg-gray-600 text-white/75'
value={provider}
onChange={handleProviderChange}
options={providers.map(({ name: value, label }) => ({ value, label }))}
/>
</div>
<Select
className='bg-gray-600 text-white/75'
value={provider}
onChange={handleProviderChange}
options={providers.map(({ name: value, label }) => ({ value, label }))}
/>
</div>
</Popup>
</div>