duplication in datatables.css file

duplication in datatables.css file

sohelmugalsohelmugal Posts: 5Questions: 2Answers: 0

Is this correct that there is a duplication in the CSS file, (padding give twice, 5px and 4px)

.dataTables_wrapper .dataTables_length select {
border: 1px solid #aaa;
border-radius: 3px;
padding: 5px;
background-color: transparent;
padding: 4px;
}

Answers

  • allanallan Posts: 63,489Questions: 1Answers: 10,470 Site admin

    It is due to this. We include a default set of styles for the select element and then override the padding property. The second one wins.

    Yes, we should probably tidy that up, but it isn't going to cause any problems other than need an extra few bytes for the download.

    Allan

Sign In or Register to comment.