generoi / genero-design-system

https://gds.generogrowth.com/
MIT License
4 stars 0 forks source link

Media card percentages #34

Closed oxyc closed 4 years ago

oxyc commented 4 years ago

Support percentage media-card heights. This still doesn't work with percentage as offsets because there's no way to add the margin-top value with a percentage relative to the media (rather than the entire card). This still works pretty well for mobile.