Skip to content

Commit

Permalink
docs: use emoji instead of svg for deprecated rule (#16536)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmish committed Nov 11, 2022
1 parent e76c382 commit 0515628
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docs/src/_includes/components/rule.macro.html
Expand Up @@ -29,11 +29,7 @@
<div class="rule__categories">
<span class="visually-hidden">Categories:</span>
{%- if (params.deprecated) or (params.removed) -%}
<p class="rule__categories__type">
<svg width="24" height="24" viewBox="12 12 20 20" fill="none" aria-hidden="true" focusable="false" style="position: relative; right: -1px;">
<path d="M28.5 16L16.5 28M16.5 16L28.5 28" stroke="#F63D68" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</p>
<p class="rule__categories__type"></p>
{%- else -%}
<p class="rule__categories__type" {% if params.categories.recommended == false %}aria-hidden="true" {%- endif -%}>
<span class="visually-hidden">Extends</span>
Expand Down

0 comments on commit 0515628

Please sign in to comment.