Skip to content

Commit edc2d97

Browse files
committed
feat: メタ情報の見た目調整
完全修飾名・単純名・種類のweakクラスを削除し、カードセクションにweakクラスを適用。
1 parent 53b47ac commit edc2d97

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • jig-core/src/main/resources/templates/assets

jig-core/src/main/resources/templates/assets/glossary.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,17 +88,17 @@ function renderGlossaryTerms(terms, displayMode) {
8888
if (displayMode === "full") {
8989
const metaItems = [];
9090
if (term.fqn) {
91-
metaItems.push(createElement("div", {className: "fully-qualified-name", textContent: term.fqn}));
91+
metaItems.push(createElement("div", {textContent: `完全修飾名: ${term.fqn}`}));
9292
}
9393
if (term.simpleText) {
94-
metaItems.push(createElement("div", {className: "weak", textContent: `単純名: ${term.simpleText}`}));
94+
metaItems.push(createElement("div", {textContent: `単純名: ${term.simpleText}`}));
9595
}
9696
if (term.kind) {
97-
metaItems.push(createElement("div", {className: "weak", textContent: `種類: ${term.kind}`}));
97+
metaItems.push(createElement("div", {textContent: `種類: ${term.kind}`}));
9898
}
9999
if (metaItems.length > 0) {
100100
metaChildren.push(createElement("section", {
101-
className: "jig-card jig-card--item",
101+
className: "jig-card jig-card--item weak",
102102
children: metaItems
103103
}));
104104
}

0 commit comments

Comments
 (0)