This commit is contained in:
2025-10-12 20:34:05 +08:00
parent 156b5aad34
commit a632e5f249

View File

@@ -229,14 +229,16 @@ export default function Home() {
return (<> return (<>
<div className="my-4 p-4 mx-4 md:mx-32 border-1 border-gray-200 rounded-2xl"> <div className="my-4 p-4 mx-4 md:mx-32 border-1 border-gray-200 rounded-2xl">
<textarea className="text-2xl resize-none focus:outline-0 min-h-64 w-full" <textarea className="text-2xl resize-none focus:outline-0 min-h-64 w-full border-gray-200 border-b"
onChange={handleInputChange} onChange={handleInputChange}
ref={textareaRef}> ref={textareaRef}>
</textarea> </textarea>
<div className="overflow-auto text-gray-600 h-18"> {
{ipa} ipa.length !== 0 && (<div className="overflow-auto text-gray-600 h-18 border-gray-200 border-b">
</div> {ipa}
<div className="relative w-full flex flex-row flex-wrap gap-2 justify-center items-center"> </div>) || (<div className="h-18"></div>)
}
<div className="mt-8 relative w-full flex flex-row flex-wrap gap-2 justify-center items-center">
{showSpeedAdjust && ( {showSpeedAdjust && (
<div className="bg-white p-6 rounded-2xl border-gray-200 border-2 shadow-2xl absolute left-1/2 -translate-x-1/2 -translate-y-full -top-4 flex flex-row flex-wrap gap-2 justify-center items-center"> <div className="bg-white p-6 rounded-2xl border-gray-200 border-2 shadow-2xl absolute left-1/2 -translate-x-1/2 -translate-y-full -top-4 flex flex-row flex-wrap gap-2 justify-center items-center">
<IconClick size={45} onClick={letMeSetSpeed(0.5)} <IconClick size={45} onClick={letMeSetSpeed(0.5)}