mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-21 21:40:48 +00:00
placeholder.svg: Partially revert the changes from c0e42cb. (#28216)
It broke the example include.
This commit is contained in:
parent
1145365f6d
commit
6c7dcc6882
@ -25,7 +25,7 @@
|
||||
{%- endif -%}
|
||||
|
||||
{%- capture svg -%}
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="{{ width }}" height="{{ height }}"{% if title != ' ' or text != ' ' %} aria-label="{% if title != ' ' %}{{ title }}{% if text != ' ' %}: {% endif %}{% endif %}{% if text != ' ' %}{{ text }}{% endif %}"{% endif %} class="bd-placeholder-img{% if class != '' %} {{ class }}{% endif %}" preserveAspectRatio="xMidYMid slice" role="img" focusable="false">
|
||||
<svg class="bd-placeholder-img{% if class != '' %} {{ class }}{% endif %}" width="{{ width }}" height="{{ height }}" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img"{% if title != ' ' or text != ' ' %} aria-label="{% if title != ' ' %}{{ title }}{% if text != ' ' %}: {% endif %}{% endif %}{% if text != ' ' %}{{ text }}{% endif %}"{% endif %}>
|
||||
{% if title != ' ' %}<title>{{ title }}</title>{% endif %}
|
||||
<rect width="100%" height="100%" fill="{{ background }}"/>
|
||||
{% if text != ' ' %}<text x="50%" y="50%" fill="{{ color }}" dy=".3em">{{ text }}</text>{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user