Skip to content

Commit 5eb6197

Browse files
committed
feat: Categoryテンプレートのスタイルを設定
1 parent 742be4d commit 5eb6197

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

website/src/components/templates/CategoryTemplate.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@ export const CategoryTemplate: FC<CategoryTemplateProps> = ({
2929
<ul class="subgridded">
3030
{page.body.content.items.map((item) => (
3131
<li>
32-
<a href={item.route}>
33-
{item.code ? <code>{item.name}</code> : item.name}
34-
</a>
35-
<span>{item.oneliner}</span>
32+
<div>
33+
<a href={item.route}>
34+
{item.code ? <code>{item.name}</code> : item.name}
35+
</a>
36+
</div>
37+
<div class="pl-4">{item.oneliner}</div>
3638
</li>
3739
))}
3840
</ul>

0 commit comments

Comments
 (0)