style: polish responsive typography and transcript states
Deploy Speaking Practice / deploy (push) Successful in 2m13s

This commit is contained in:
TTlaji committed 2026-06-09 22:56:57 +08:00
1 parent cd29764963
commit 67dcea21d0
10 files changed
+291 -75

No files matched your search

+2 -1
View File
@@ -250,7 +250,8 @@ function createVideoCard(video) {
statValues[2].textContent = `${difficultCount}`;
const favorite = card.querySelector(".home-favorite");
favorite.textContent = isFavorite ? "已收藏" : "收藏";
favorite.textContent = isFavorite ? "♥" : "♡";
favorite.setAttribute("aria-label", isFavorite ? "取消收藏素材" : "收藏素材");
favorite.classList.toggle("active", isFavorite);
favorite.addEventListener("click", (event) => {
event.preventDefault();