File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
website/src/components/templates Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments