shrink button to size

Hi there, I’m using vaadin-button do display only a single icon in it, with no text, like this:

 <vaadin-button on-click="showOptions">
	  <iron-icon icon="lumo:menu" slot="prefix"></iron-icon>
</vaadin-button>

I’d rather have the button smaller than it actually is, to just fit to the image and not much more space around it.
![screenshot]
(https://vaadin.com/attachment/eb5849c4-3188-4827-8f6f-5ebfc91539f3/Screen%20Shot%202018-09-14%20at%202.31.19%20PM.png)

I can’t see what the css would be to make the button shrink in widht unfortunately, can anybody tell?

best
Bernd
17272094.png

Hi Bernd,

Try adding theme=“icon” to the button.

https://vaadin.com/components/vaadin-button/html-examples/button-lumo-theme-demos