Topic: how to remove classic-tabs initial indentation

Marcosrod71 free asked 6 years ago


I have a classic-tab that is indented. I don't know if maybe the first list item is actually indented or if the unordered list is created a padding on the left side. In mdbootstrap documentation the classic tab https://mdbootstrap.com/components/tabs/  is already indented. what css code or class can I use to remove the indentation and have the list items wrap around the whole ul?  

Bartłomiej Malanowski staff commented 6 years ago

I'm not sure what do you mean. Could you please ask your question more precisely? Also, a screenshot would be also great

Adam Stapleton pro answered 6 years ago


If I understand you correctly you should just be able to use this CSS to remove the indent.

@media (min-width: 62em) {
  .classic-tabs li:first-child {
      margin-left: 0;
  }
}

 



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes
Tags