diff --git a/aio/src/styles/2-modules/_api-pages.scss b/aio/src/styles/2-modules/_api-pages.scss index e664178343..4f304e32bb 100644 --- a/aio/src/styles/2-modules/_api-pages.scss +++ b/aio/src/styles/2-modules/_api-pages.scss @@ -116,6 +116,15 @@ .ngmodule-list { list-style: none; padding: 0; + + .selector-list { + ul { + padding: 0; + li { + list-style: none; + margin-bottom: 12px; + } + } } } diff --git a/aio/tools/transforms/angular-api-package/tag-defs/selectors.js b/aio/tools/transforms/angular-api-package/tag-defs/selectors.js new file mode 100644 index 0000000000..e80cbf18af --- /dev/null +++ b/aio/tools/transforms/angular-api-package/tag-defs/selectors.js @@ -0,0 +1,3 @@ +module.exports = function() { + return {name: 'selectors'}; +}; diff --git a/aio/tools/transforms/templates/api/includes/selectors.html b/aio/tools/transforms/templates/api/includes/selectors.html index c28f0ed9d9..f0787340dd 100644 --- a/aio/tools/transforms/templates/api/includes/selectors.html +++ b/aio/tools/transforms/templates/api/includes/selectors.html @@ -1,19 +1,14 @@ {%- if doc.selector %} -
+

Selectors

- - - - - - - - {%- for selector in doc.selectorArray %} - - - - {% endfor %} - -
Selector
{$ selector $}
+ {% if doc.selectors %} + {$ doc.selectors | marked $} + {% else %} + + {% endif %}
{% endif %}