PrimeNG v18 button looks ugly

Discussão em 'Angular' iniciado por Vladimir, Março 21, 2025.

  1. Vladimir

    Vladimir Guest

    I use Angular 18, PrimeNG 18, Tailwind 3. All styles are loaded normally in right sequence: "tailwind-base, primeng, tailwind-utilities", but buttons doesn't look like expected in PrimeNG documentation. Please check pictures, the first is from documentation, the second is in my project. The line-height of button label not as expected, it inherits from html style line-height: 1.5, which is from tailwind-base styles, I guess. Why PrimeNG documentation examples look different?

    [​IMG]

    [​IMG]

    Continue reading...

Compartilhe esta Página