Cards in tweet embeds are forcing full width in flexbox

cards

#1

I’m displaying an embedded tweet within a flexbox container. The div the tweet is embedded into has its width set to auto. This works as expected (flexbox controls width) unless the embedded tweet contains a PrerenderedCard. This type of card has a class “is-constrainedByMaxWidth” that doesn’t seem to play well with flexbox. Does anyone have any solutions for this? I don’t want to set the “cards” parameter to hidden, because I’d really like to have the full content preview, and setting that also seems to hide all the other card formats which don’t seem to be causing this problem. Thanks for any help!

Alan


#2

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.