Skip to content

Commit a5c83ea

Browse files
committed
chore(docs): small updates on Button -> Icons article
1 parent 0982da7 commit a5c83ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/button/icons.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The following example shows how to use an image from a URL, a sprite image, and
4949
5050
>note Images used as icons should generally be small enough to fit in a line of text - the button is an inline element and is not designed for large images. If you want to use big icon buttons, consider one of the following options:
5151
>
52-
> * defining a `Class` on the button that provides `height` and `width` sufficient to accommodate the icon,
52+
> * defining a `Class` on the button that provides `height` and `width`. The width and height can be set in `px` sufficient to accommodate the icon or to `auto`,
5353
> * or attaching an `@onclick` handler to an icon/`span`/`img` element instead of using a button,
5454
> * or adding your own HTML inside the button, something like: `<TelerikButton><img style="width: 400px; height: 400px;" src="my-icon.svg" />some text</TelerikButton>`
5555

0 commit comments

Comments
 (0)