Skip to content

Commit 2d817a7

Browse files
committed
feat: Groupテンプレートのスタイルを設定
1 parent 70d2723 commit 2d817a7

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

website/src/components/templates/GroupTemplate.tsx

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,11 @@ export const GroupTemplate: FC<GroupTemplateProps> = ({
4141
{content.functions.map((method, index) => (
4242
<div>
4343
<h3 id={`definitions-${method.name}`} class="method-head">
44-
<span>
45-
<code>{method.name}</code>
46-
</span>
47-
<small>
48-
<Tooltip
49-
name="Element"
50-
desc="Element functions can be customized with <code>set</code> and <code>show</code> rules."
51-
/>
52-
</small>
44+
<code class="text-base font-medium">{method.name}</code>
45+
<div class="flex flex-wrap items-center gap-2 text-sm">
46+
{method.element && <Tooltip kind="element" />}
47+
{method.contextual && <Tooltip kind="contextual" />}
48+
</div>
5349
</h3>
5450
<FunctionDisplay
5551
func={method}

0 commit comments

Comments
 (0)