Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

115
Views
remove padding from accordion

I have a mdbootstrap accordion inside an angular component. By default, it has some padding. I wish to make it smaller. From inspecting the accordion I see that it's made out of a button that has the padding. So in the .scss file of the component where I use the accordion, I do:

accordion-button {
    padding: 0px !important;
}

But it doesn't do anything with and without !important. I checked if the .scss file even works by changing random title color and it does. I think that my value if being overwritten. How can I fix this?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!