Skip to content

Commit

Permalink
Merge pull request #4304 from salesforce-ux/chore/link-updates
Browse files Browse the repository at this point in the history
chore(link-updates): update icons link ref to match site updates
  • Loading branch information
zahnster committed Jun 10, 2020
2 parents 361bb9e + 76dcaca commit ff0e43b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/components/icons/docs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ When placing the icon code into your page, customize the path in the `use` attri
If an icon has more than one word in the name, it should be included in the `use` attribute with the underscore separator as shown on the icon page. For example: log_a_call.

You must require SLDS in your application for SVG sprites to work. If you’re using Visualforce, see <a href="/platforms/visualforce">the Visualforce tutorial</a>. If you’re using <a href="/platforms/lightning"> Lightning components, see this documentation</a>.
- You can access the SVG sprites by downloading the entire [CSS Framework or just the icons](/downloads). To include a sprite in your application, the recommended method is to place it into the page as the first element inside the `body` element. Alternatively, you can leave the sprite in the assets/icons directory and link to it from your page. To render a sprite icon, add the tiny [SVG for Everybody](https://github.com/jonathantneal/svg4everybody) script for Internet Explorer.
- You can access the SVG sprites by downloading the entire [CSS Framework or just the icons](/resources/downloads). To include a sprite in your application, the recommended method is to place it into the page as the first element inside the `body` element. Alternatively, you can leave the sprite in the assets/icons directory and link to it from your page. To render a sprite icon, add the tiny [SVG for Everybody](https://github.com/jonathantneal/svg4everybody) script for Internet Explorer.
- When placed into the `body`, the SVG sprite takes up space in the page. Use either `display:none` or `position:absolute` and set both the width and height to zero.

## Types
Expand Down

0 comments on commit ff0e43b

Please sign in to comment.