Datatable: Apply `padding` only on `th` & `td` elements
authorVolker E <volker.e@wikimedia.org>
Fri, 18 Jan 2019 23:35:24 +0000 (15:35 -0800)
committerVolker E <volker.e@wikimedia.org>
Wed, 23 Jan 2019 01:29:00 +0000 (17:29 -0800)
commit6b10efaaed7ee6aed765d38e72c85ef919d98198
treef090108b07865c8ecf56c3587802d6e53ae20fdb
parentca7987ff9e39b9af8c5263e6e57b7ecdc98600a7
Datatable: Apply `padding` only on `th` & `td` elements

Applying it on `table` as well results in issues when wanting
to override `border-radius` together with `border-collapse`.
It's not needed in a well-formed table as every child element would
need to reside within a `th` or `td` anyways.
Also the only other content carrying element `caption` doesn't receive
table's `padding` by default.

Change-Id: I5e8c9d47fab806b56e6d03f1611ddbf6d4ea8924
resources/src/mediawiki.legacy/shared.css