Disable padding in material ui card

Alexander

I'm using a card from material UI and when I inspect the card I have this class :

"MulticardContent-root" which gives me padding 16, how do I remove it? its not in the styles component.

Sumit Patel

You can overwrite using following css.

.MuiCardContent-root {
    padding: 0px !important;
}

And if you want for specific page only then dont forget to add one parent class.

.test .MuiCardContent-root {
    padding: 0px !important;
}

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related