PSLmodels / PSL-Infrastructure

The Policy Simulation Library consists of models and modeling tools that share the transparency standards and interoperability criteria set by the PSL-Infrastructure project
https://www.pslmodels.org
Other
18 stars 17 forks source link

Preserve original dimensions in user logos #303

Open MaxGhenis opened 6 months ago

MaxGhenis commented 6 months ago

e.g. these get scrunched

https://pslmodels.org/users.html

image
jdebacker commented 6 months ago

Good catch, @MaxGhenis.

@fox8090 Any suggestions on how this could be done?

jdebacker commented 6 months ago

This also happens on the Catalog page. E.g.,

Screenshot 2024-03-09 at 10 44 47 PM
jdebacker commented 6 months ago

Re the news outlets, which seem to be affected the most: we could pull alternative logos for those with the longer names. E.g., image

and

image

and

image

jdebacker commented 6 months ago

PR #317 makes progress on this for the model catalog cards.

Something similar could be adapted to user logos, although in that case, perhaps setting a maximum for height of the image makes more sense.

fox8090 commented 5 months ago

Implemented enhancements and fixes addressing this issue. Details and discussion can be found in PR #321.