working-group-two/wgtwo.com

fix blog cards issue in Safari on Mac

Closed this issue · 4 comments

hi @Prid13

When you run /blog on Safari on Mac, you get a display issue.

image

The same goes for
image

Yan, nne of our guys said (on Slack):
a workaround is to remove the display: css entry in articleCardContent_XsZ2 stuff

image

But is that the right approach? We shouldn't get very long cards.

Please have a look.

Ah, I feared this would happen :( This is most likely because the code I'm using to "hide" longer content, as suggested by jorunfa, is non-standard, and there's no guarantee it will work on all browsers.

@jorunfa what do you think? :)

Actually I see some more issues with the card. Think it might be related to display: flex on some parent. I'll try to fix that too before merging.

Thanks so much for looking at this, @jorunfa.

What's your take on the general card design input in the slack channel? David made the point that we should perhaps make the cards (without images) darker.