Page 1 of 1

Button with Icon Only looks weird

Posted: 25 Oct 2018, 10:37
by dataConnect
Hi,
we just bought the Morpheus theme and I started to integrate it in our app when I realized the strange look of a button with icon only. (See the buttons section in the live preview https://www.primefaces.org/morpheus-ng/#/forms)

Is that on purpose? What is the recommended approach to change the size of this icon only button?

Re: Button with Icon Only looks weird

Posted: 30 Oct 2018, 08:43
by merve7
You can add the below code your stylesheet (for example src/styles.scss) for changing button size;

Code: Select all

.ui-fluid .ui-button.ui-button-icon-only {
    width: //size
}

.ui-button.ui-button-icon-only {
    width: //size
}


Re: Button with Icon Only looks weird

Posted: 23 Nov 2018, 16:48
by dataConnect
I figured out it is only in Firefox. That should be fixed in the stylesheet right?

Why can't I upload screenshots here :?:

Re: Button with Icon Only looks weird

Posted: 03 Dec 2018, 09:32
by merve7
Hi,
Yes, that should be in the stylesheet to not change after our releases.

Re: Button with Icon Only looks weird

Posted: 27 Dec 2018, 09:34
by dataConnect
Hi,
I upgraded to Morpheus 7.0 and the icon-only buttons are still having no margin in Firefox

btw. by stylesheet, in my post before, I meant "fixed by the Primefaces- Vendor-Stylesheet I bought"