You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/button/icons.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ The following example shows how to use an image from a URL, a sprite image, and
49
49
50
50
>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:
51
51
>
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`,
53
53
> * or attaching an `@onclick` handler to an icon/`span`/`img` element instead of using a button,
54
54
> * or adding your own HTML inside the button, something like: `<TelerikButton><img style="width: 400px; height: 400px;" src="my-icon.svg" />some text</TelerikButton>`
0 commit comments