forked from akai/readest
Preloading audio for Edge TTS and other fixes (#138)
* Blacklist some low-quality web tts voices * Dropdown layout tweaks * Handle no audio data received in Edge TTS * Preloading audio for Edge TTS
This commit is contained in:
@@ -62,7 +62,7 @@ const FontDropdown: React.FC<DropdownProps> = ({
|
||||
>
|
||||
{moreOptions.map((option) => (
|
||||
<li key={option} onClick={() => onSelect(option)}>
|
||||
<div className='flex items-center px-0'>
|
||||
<div className='flex items-center px-2'>
|
||||
<span style={{ minWidth: '20px' }}>
|
||||
{selected === option && <MdCheck size={20} className='text-base-content' />}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user