This commit is contained in:
2026-04-01 22:59:42 +09:00
parent 83dec7504e
commit fe71ca516d
3 changed files with 24 additions and 6 deletions

View File

@@ -75,15 +75,15 @@ function appendLinks(links) {
body.className = "card-body d-flex flex-column";
const title = document.createElement("h5");
title.className = "card-title mb-2";
title.className = "card-title mb-2 line-clamp-title";
title.textContent = link.title || link.url;
const description = document.createElement("p");
description.className = "card-text text-secondary flex-grow-1";
description.className = "card-text text-secondary card-description";
description.textContent = link.description || "설명 없음";
const linkBtn = document.createElement("a");
linkBtn.className = "btn btn-outline-primary btn-sm";
linkBtn.className = "btn btn-outline-primary btn-sm mt-auto";
linkBtn.href = link.url;
linkBtn.target = "_blank";
linkBtn.rel = "noopener";