ozwaldorf / iron-grid

Iron Grid - A Responsive Grid System for Polymer
MIT License
67 stars 24 forks source link

style breaks inside dom-repeat #39

Open m-mansoor-ali opened 6 years ago

m-mansoor-ali commented 6 years ago

Hi, the grid works fine when elements with the css classes i.e ["xs", "s", "m", "l", "xl"] are direct children of the element <iron-grid>, but breaks when using an element between.

Working code:

`


Time

Length
...
` **Breaking code** `
` **CSS** ``` paper-button.grid-button { width: 70%; background-color: var(--google-red-500); color: white !important; margin: 10px; text-transform: capitalize; } .grid-container { padding-top: 3vh; } ``` ![screenshot 6](https://user-images.githubusercontent.com/31011652/34649484-179671e0-f3d2-11e7-89c6-fe1b9eb4c815.png)