Page 1 of 1

primeng15 with angular15 <div class="p-fluid grid formgrid"> not working

Posted: 01 Mar 2023, 12:34
by Reisy
Hi
I copied this example to my project:
https://primeng.org/calendar

but <div class="p-fluid grid formgrid"> does not effect,

my ng version:
Angular CLI: 15.2.0
Node: 14.20.1
Package Manager: npm 6.14.17
OS: win32 x64

Angular: 15.2.0
primeng version:
"primeflex": "^3.3.0",
"primeicons": "^6.0.1",
"primeng": "^15.2.0",

Does anyone know what the problem is?

thanks

Re: primeng15 with angular15 <div class="p-fluid grid formgrid"> not working

Posted: 01 Mar 2023, 14:00
by Reisy
ok, it works for me, I needed to add this rows to the styles.scee file:
@import 'node_modules/primeflex/primeflex.css';
@import 'node_modules/primeflex/themes/saga-blue.css';