diff options
author | ziggy <ziggy@littlesis.org> | 2021-10-12 22:23:16 +0300 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2021-10-13 04:57:41 +0300 |
commit | dbffaeaed3e3321d805291a0c1c66c0ab0b253f0 (patch) | |
tree | 28ce53b03715fa26705da8fc15207902892f085b | |
parent | e1898d6fb1dd530fbccd9b8fe4c81b0bac98b29c (diff) |
Use bi-exclamation-triangle in SVG example
-rw-r--r-- | docs/content/_index.md | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/content/_index.md b/docs/content/_index.md index 953ef8368..7391faffc 100644 --- a/docs/content/_index.md +++ b/docs/content/_index.md @@ -140,14 +140,13 @@ Color can be changed by setting a `.text-*` class or custom CSS: </div> <div class="col-md-8"> <div class="bd-example"> - <svg class="bi bi-alert-triangle text-success" width="32" height="32" viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg"> - <path fill-rule="evenodd" d="M9.938 4.016a.146.146 0 00-.054.057L3.027 15.74a.176.176 0 00-.002.183c.016.03.037.05.054.06.015.01.034.017.066.017h13.713a.12.12 0 00.066-.017.163.163 0 00.055-.06.176.176 0 00-.003-.183L10.12 4.073a.146.146 0 00-.054-.057.13.13 0 00-.063-.016.13.13 0 00-.064.016zm1.043-.45a1.13 1.13 0 00-1.96 0L2.166 15.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L10.982 3.566z"/> - <rect width="2" height="2" x="9.002" y="13" rx="1"/> - <path d="M9.1 7.995a.905.905 0 111.8 0l-.35 3.507a.553.553 0 01-1.1 0L9.1 7.995z"/> + <svg class="bi bi-exclamation-triangle text-success" width="32" height="32" fill="currentColor" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> + <path d="M7.938 2.016A.13.13 0 0 1 8.002 2a.13.13 0 0 1 .063.016.146.146 0 0 1 .054.057l6.857 11.667c.036.06.035.124.002.183a.163.163 0 0 1-.054.06.116.116 0 0 1-.066.017H1.146a.115.115 0 0 1-.066-.017.163.163 0 0 1-.054-.06.176.176 0 0 1 .002-.183L7.884 2.073a.147.147 0 0 1 .054-.057zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566z"/> + <path d="M7.002 12a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995z"/> </svg> </div> {{< highlight html >}} -<svg class="bi bi-alert-triangle text-success" width="32" height="32" viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg"> +<svg class="bi bi-exclamation-triangle text-success" width="32" height="32" fill="currentColor" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> ... </svg> {{< /highlight >}} |