Skip to content

Annotations to scoped functions in GroupTemplate are inconsistent with those in FuncTemplate #23

@YDX-2147483647

Description

@YDX-2147483647

Annotations like 要素関数 should be put in the same line of the functions' names.
The flex class is missing in the <h3> in GroupTemplate.

Comparision

Those in GroupTemplate

math.attach

Image

<h3 id={`functions-${method.name}`} class="method-head">
<code class="text-base font-medium">{method.name}</code>
<div class="flex flex-wrap items-center gap-2 text-sm">
{method.element && <Tooltip kind="element" />}
{method.contextual && <Tooltip kind="contextual" />}
</div>
</h3>

Those in FuncTemplate

table.footer

Image

<h3 id={methodId} class="method-head mb-3 flex items-center gap-2">
<code
class="text-base font-medium"
style={
method.deprecation
? { textDecoration: "line-through" }
: undefined
}
>
{method.name}
</code>
<small class="flex items-center">
{method.element && <Tooltip kind="element" />}
{method.contextual && <Tooltip kind="contextual" />}
</small>
</h3>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions