Selected RadioButton not perfect round with Firefox

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
jobor
Posts: 33
Joined: 19 Dec 2011, 22:34
Location: the Netherlands

21 Mar 2020, 11:46

The RadioButton rendered as selected shows the inner white circle concentric.
Safari Chrome Opera are rendering perfect centric circles.

Image
With regards,
Johan Borchers

Mac OS X 10.15.7
NetBeans 12.3
OpenJDK Zulu11.37
JSF Mojarra 2.3.14
PrimeFaces 10.0.0
Tomcat 9.0.43
MySQL 5.6.x

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

23 Mar 2020, 13:52

I couldn't replicate it. But, could you please try the following css code;

Code: Select all

body .ui-radiobutton .ui-radiobutton-box {
   display: flex;
   justify-content: center;
   align-items: center;
}
Best regards,

jobor
Posts: 33
Joined: 19 Dec 2011, 22:34
Location: the Netherlands

23 Mar 2020, 21:59

Hello,

I did put your css in a css file radiobutton.css and added the file to the template like this:

Code: Select all

        <h:outputStylesheet name="css/nanoscroller.css" library="harmony-layout" />
        <h:outputStylesheet name="css/layout-#{guestPreferences.layout}.css" library="harmony-layout" />
        <h:outputStylesheet name="css/radiobutton.css" library="tweespan" />
    </h:body>
</html>
Guess what... The selected radiobutton is now perfect round in forms.xhtml
Nice!!

It really happens only with Firefox.
With regards,
Johan Borchers

Mac OS X 10.15.7
NetBeans 12.3
OpenJDK Zulu11.37
JSF Mojarra 2.3.14
PrimeFaces 10.0.0
Tomcat 9.0.43
MySQL 5.6.x

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

03 Apr 2020, 12:15

Glad to hear, thanks a lot for the update :)

Best Regards,

Post Reply

Return to “Harmony - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests