Generated objects in the view are stacking incorrectly?

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?

Thank you.

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.

LATTER THINGS

On 18 Mar 2016 21:15, “David W.” [email protected] wrote:

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.

Colin


You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected]
To post to this group, send email to [email protected]
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/92cacce4acddffaf5b47ecaeaff26abc%40ruby-forum.com
.

Colin L. wrote in post #1182302:

On 18 Mar 2016 21:15, “David W.” [email protected] wrote:

I fixed the issue, clashing CSS classes was causing bootstrap to move
child objects on the grid.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs