Saulis / iron-data-table

iron-data-table is a Web Component for displaying data as a table or grid. Built on top of iron-list using Polymer.
Apache License 2.0
147 stars 66 forks source link

Add CSS variables for cell height #177

Open Storyyeller opened 7 years ago

Storyyeller commented 7 years ago

This is the same as https://github.com/Saulis/iron-data-table/pull/165 except that it also applies the variables to data-table-checkbox, which is required in order to make the table work when multiSelect is enabled.

The reason this is necessary is because normal CSS selectors such as the following don't work with the Shadow DOM, i.e. it breaks in any browser which implements web components without a polyfill.

iron-data-table data-table-cell {
  height: 100px;
}

This change is Reviewable

Saulis commented 7 years ago

Hi!

Please see my comment here: https://github.com/Saulis/iron-data-table/pull/147#issuecomment-268235072