How to add padding in columns of responsive datatable?

How to add padding in columns of responsive datatable?

viniciussvlviniciussvl Posts: 1Questions: 1Answers: 0

Hello, when I installed the responsive datatable on my site the columns were so close together.
How do you separate? put type 50% for column and 50% for data?

Answers

  • allanallan Posts: 62,848Questions: 1Answers: 10,340 Site admin
    div.dtr-details span.dtr-title {
      padding-right: 2em;
    }
    

    will do it to add a little padding. if you want it 50/50, match that and span.dtr-data inline-block and width 50%. Probably need to make the ul tag display:block and 100% width as well.

    Allan

This discussion has been closed.