Currently deep diving into Angular for a project and I decided to incorporate the <p-calendar>
component from primeng
. After installing the necessary packages, the versions were:
"primeicons": "^2.0.0",
"primeng": "^5.2.7",
Initially everything was working flawlessly, as shown here: https://i.sstatic.net/HOWSx.png
However, when attempting to customize it to only display months, I discovered that the month picker feature is not available in primeng: ^5.2.7
. So, I made an upgrade to:
"primeicons": "^2.0.0",
"primeng": "6.1.6",
I also included these attributes within the <p-calendar>
tag:
view="month" dateFormat="mm/yy"
The component functions properly now, but all the previous styling like circles and hover effects have vanished, visible in this image:
https://i.sstatic.net/rPMUp.png I'm admittedly not adept at CSS and styling. Any assistance would be appreciated.
Referencing my angular.json:
"styles": [
"src/styles.scss",
"node_modules/primeng/resources/primeng.min.css",
"node_modules/primeicons/primeicons.css",
"node_modules/bootstrap/dist/css/bootstrap.min.css"
]
Is there a way to modify or override the existing designs?