I'm using the p-grid class and I noticed it has -0.5rem margins. This caused an overflow in the x-direction for small screen widths since I'm not using a container for <576px width. I'm just curious as to the reason for these negative margins. I removed them and put them on my site and I don't see any immediate issues with it. I'm just wondering if there is something I should be aware of.
Thanks in advance for any responses.
Negative Margin on p-grid class
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Hi,
Sorry for the delayed response. You can use p-nogutter class to reset all margin;
https://github.com/primefaces/primeflex ... meflex.css
Best Regards,
Sorry for the delayed response. You can use p-nogutter class to reset all margin;
https://github.com/primefaces/primeflex ... meflex.css
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 20 guests