duplication in datatables.css file
duplication in datatables.css file
![sohelmugal](https://secure.gravatar.com/avatar/27795774ec5433ee26c15c8a8370a502/?default=https%3A%2F%2Fvanillicon.com%2F27795774ec5433ee26c15c8a8370a502_200.png&rating=g&size=120)
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;
}
Answers
It is due to this. We include a default set of styles for the
select
element and then override thepadding
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