
Changed description from h3 to h2 to match the other header Created api page classes for consistent styling Add styles for info-bar section Wrapped pre tags for code not to go off of screen
15 lines
385 B
HTML
15 lines
385 B
HTML
{%- if doc.directiveOptions.selector.split(',').length %}
|
|
<section class="selectors api-section">
|
|
<div class="api-section-header">
|
|
<h2>Selectors</h2>
|
|
</div>
|
|
<div class="api-section-content">
|
|
{% for selector in doc.directiveOptions.selector.split(',') %}
|
|
<p class="selector">
|
|
<code>{$ selector $}</code>
|
|
</p>
|
|
{% endfor %}
|
|
</div>
|
|
</section>
|
|
{% endif %}
|