diff --git a/aio/src/styles/2-modules/_api-pages.scss b/aio/src/styles/2-modules/_api-pages.scss index 41768a0bd9..55e273408f 100644 --- a/aio/src/styles/2-modules/_api-pages.scss +++ b/aio/src/styles/2-modules/_api-pages.scss @@ -31,13 +31,10 @@ } .method-table, .option-table, .list-table { - th { - display: flex; + .with-github-links { align-items: center; - - h3 { - flex: 1; - } + display: flex; + justify-content: space-between; .github-links { a { diff --git a/aio/tools/transforms/templates/api/decorator.template.html b/aio/tools/transforms/templates/api/decorator.template.html index 6a32d634b7..dca547549f 100644 --- a/aio/tools/transforms/templates/api/decorator.template.html +++ b/aio/tools/transforms/templates/api/decorator.template.html @@ -13,8 +13,10 @@ diff --git a/aio/tools/transforms/templates/api/lib/memberHelpers.html b/aio/tools/transforms/templates/api/lib/memberHelpers.html index de81f1f5a2..0a8fca6a07 100644 --- a/aio/tools/transforms/templates/api/lib/memberHelpers.html +++ b/aio/tools/transforms/templates/api/lib/memberHelpers.html @@ -74,13 +74,15 @@
-

{$ option.name $}

- {$ github.githubLinks(option, versionInfo) $} +
{% if method.name !== 'constructor' %}{% endif %} {% if method.shortDescription %}
-

- {% if method.isCallMember %}call signature - {% elseif method.isNewMember %}construct signature - {% else %}{$ method.name $}() - {% endif %} -

- {$ github.githubLinks(method, versionInfo) $} +