Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datepicker component with global font-size set to 10px #17728

Open
angdepver opened this issue Feb 20, 2025 · 1 comment
Open

Datepicker component with global font-size set to 10px #17728

angdepver opened this issue Feb 20, 2025 · 1 comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@angdepver
Copy link

Hi,

I am facing an issue with the new Primeng 19, where the calendar is not looking good with the font-size of the project set to 10px.
Is there a way to fix this only for the .p-datepicker component?

@github-actions github-actions bot added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 20, 2025
@angdepver
Copy link
Author

angdepver commented Feb 24, 2025

Hi,

A little details will be needed here.

In version 19 and earlier rem css values are used. This is a major issue right now in my project as the html's font-size is set to 10px. The datepicker's width and height are calculated dynamically and with 10px's font-size it's size is too small. How to manually change the datepicker's size?

Note: changing manually the width and height does not help!

@cagataycivici

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant