duplication in datatables.css file
duplication in datatables.css file
in Bug reports
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;
}
This discussion has been closed.
Answers
It is due to this. We include a default set of styles for the
selectelement and then override thepaddingproperty. 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