Adjusting font size for all components

UI Components for React
Post Reply
LarryCapija
Posts: 2
Joined: 03 May 2021, 10:36

03 May 2021, 11:02

I'm evaluating PrimeReact, and finding the default font size too large for my likening.

Is there a simple way to adjust font size without going through each component?

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

07 May 2021, 00:49

Hi,

Yes, our all components has rem type styles. Therefore, you can add font-size: ...px to root element such as html, body etc.

Please examine our config sidebar on showcase. (Component Scales)

Best Regards,

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests