取消学习列表下换线,圆点与标题居中对齐

This commit is contained in:
qiuchenfan 2025-11-20 10:17:43 +08:00
parent 7c0f74ab4f
commit 9b2103b0d6
1 changed files with 2 additions and 2 deletions

View File

@ -64,10 +64,10 @@ const LearnPage = () => {
{newsList.map((item, index) => (
<li
key={index}
className="flex items-start text-2xl text-[#7e2f2a] hover:text-red-600 cursor-pointer group"
className="flex items-center text-2xl text-[#7e2f2a] hover:text-red-600 cursor-pointer group"
>
<span className="text-red-500 mr-2 mt-0.5"></span>
<span className="group-hover:underline">{item}</span>
<span >{item}</span>
</li>
))}
</ul>