This commit is contained in:
2025-10-12 19:59:23 +08:00
parent a9d0247294
commit 84837de999
2 changed files with 17 additions and 15 deletions

View File

@@ -1,6 +1,5 @@
'use client';
import Button from "@/components/Button";
import { getTextSpeakerData, setTextSpeakerData } from "@/utils";
import { useState } from "react";
import z from "zod";
@@ -25,7 +24,7 @@ function TextCard({
handleDel(item);
}
return (
<div className="p-2 border-b-1 border-gray-200 rounded-2xl bg-gray-100 m-2 grid grid-cols-8" onClick={onUseClick}>
<div className="hover:cursor-pointer p-2 border-b-1 border-gray-200 rounded-2xl bg-gray-100 m-2 grid grid-cols-8" onClick={onUseClick}>
<div className="col-span-7">
<div className="max-h-26 text-3xl overflow-y-auto">{item.text}</div>
<div className="max-h-16 overflow-y-auto text-xl text-gray-600 whitespace-nowrap overflow-x-auto">{item.ipa}</div>