Topic: card padding problem
pabloabl premium asked 3 years ago
Expected behavior inside a card I need the padding left and right to be 0
(http://www.servertest.cl/in/espero.jpg)
Actual behavior (http://www.servertest.cl/in/tengo.jpg)
Resources (screenshots, code snippets etc.)https://mdbootstrap.com/snippets/standard/pabloabl/2935749
Marcin Luczak staff answered 3 years ago
Hi,
Please add this to your CSS:
.card-body {
padding: 1rem 0 !important;
}
You can also add .px-0
class to your .card-body
element.
Regards, Marcin
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Premium
- Premium support: Yes
- Technology: General Bootstrap questions
- MDB Version: -
- Device: pc-smartphone
- Browser: chrome-safari
- OS: Windows-IOS
- Provided sample code: No
- Provided link: Yes