OpenNews/opennews-source

Template integration: feedback on organization_detail template

ryanpitts opened this issue · 8 comments

Definitely getting easier to do these as we get further into the process, @beep these modules are so good. Here's an example of an organization detail page to check out.

Only two things I'm noticing:

  • We might need an alternate .profile-photo that still floats to the right, but doesn't have the border-radius (and can handle logos that are fairly horizontal)
  • The vertical alignment on the p.has-icon in the "People" list, as noted in #61

yoooo, looking good. Here's the ProPublica profile with the updated logo handling.

Noting that extreme horizontal logos aren't ideal, e.g. New York Times. Not sure the best approach there, perhaps just an editorial policy of adding whitespace padding in the img itself?

beep commented

yoooo, looking good. Here's the ProPublica profile with the updated logo handling.

dang, that looks great. thanks for kicking off these changes, @ryanpitts.

Noting that extreme horizontal logos aren't ideal, e.g. New York Times. Not sure the best approach there, perhaps just an editorial policy of adding whitespace padding in the img itself?

Hm, yeah. That’s tricky.

CSS-wise, the one thing that comes to mind is we could apply a border and some padding to logos. Here’s a quick sketch:

screen shot 2017-02-01 at 3 37 09 pm

screen shot 2017-02-01 at 3 38 11 pm

It’s a bit of a brute force treatment—some logos might not look great—but it’s an option.

My bigger concern is how we’d like to handle those logos on smaller screens:

screen shot 2017-02-01 at 3 38 48 pm

screen shot 2017-02-01 at 3 38 57 pm

Maybe something like this?

screen shot 2017-02-01 at 3 42 47 pm

screen shot 2017-02-01 at 3 43 15 pm

ooh, I'm a fan of the light border there. @kissane any thoughts?

ooh, I'm a fan of the light border there. @kissane any thoughts?

Same, for sure.

beep commented

Added in 748b0a4!

(Let’s double check this fix when it merges? I had to make a minor structural tweak to .profile objects, which seems fine here, but holler if any regressions sneak in.)

Shall do!

Looks perfect to me.