The top item generated is perfectly positioned, but the second and third
items position directly beneath with no padding in-between. Does ruby on
rails
automatically override css styling when new items are added to the erb
view? Am I forced to use JS library like isotope or masonry?
Adding padding to the top fixed the issue with the tiles mashing
together. But, the second tile is moved over to the left. As if it’s a
relative to the top tile. Very strange.
The top item generated is perfectly positioned, but the second and third
items directly beneath with no padding in-between. Does ruby on rails
automatically override css styling when new items are added to the erb
view? Am I forced to use JS library like isotope or masonry?
Rails does not do any styling for you, you have to do your own CSS to
make
it look how you like. The fact that the page is generated by rails is
irrelevant.