diff --git a/aio/src/styles/2-modules/_api-pages.scss b/aio/src/styles/2-modules/_api-pages.scss index f368289ada..dcd25bab04 100644 --- a/aio/src/styles/2-modules/_api-pages.scss +++ b/aio/src/styles/2-modules/_api-pages.scss @@ -1,4 +1,4 @@ -.page-actions { +.github-links { float: right; .material-icons { border-radius: 4px; @@ -32,12 +32,28 @@ .method-table, .option-table { th { - padding: 8px 16px; + display: flex; + align-items: center; + + h3 { + flex: 1; + } + + .github-links { + a { + color: $mediumgray; + .material-icons:hover { + background: none; + color: $blue; + } + } + } } h3 { margin: 6px 0; font-weight: bold; + clear: left; } h4 { diff --git a/aio/tools/transforms/templates/api/base.template.html b/aio/tools/transforms/templates/api/base.template.html index 7d93b9e861..72b6fe9a7a 100644 --- a/aio/tools/transforms/templates/api/base.template.html +++ b/aio/tools/transforms/templates/api/base.template.html @@ -2,10 +2,7 @@ {% set comma = joiner(',') %} {% set slash = joiner('/') %}
-
- - -
+ {$ github.githubLinks(doc, versionInfo) $}