On Wednesday, April 30, 2014 2:17:56 AM UTC+3, Toni Helenius wrote: > https://whodidthis.github.io/om-justified > https://github.com/whodidthis/om-justified > > Om component for creating justified image grids. > > Caveats/need help with: > > - Chrome and probably some other browsers will have messed up calculations > until you resize browser, due to scrollbar appearing and reducing width from > containers. Wondering how to circumvent that. > - DRYing up two Om components with a lot of the same, not sure how to do it. > (justified and justified-rows). > - Firefox and probably some other browsers do not use float sizes for dom > elements so inaccuracy grows with more pictures per row. You can use > justified-rows, which wraps each row in a div, with flexbox or something to > ease the pain.
Fixed inaccuracy on longer rows and published ["whodidthis/om-justified" "0.1.0"] on clojars. Now just need to figure out how deal with the scrollbar issue. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" 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]. Visit this group at http://groups.google.com/group/clojurescript.
