snapshot-labs / sx-monorepo

Snapshot X monorepo
https://docs.snapshotx.xyz
MIT License
11 stars 10 forks source link

fix(ui): improve space cover dimensions #404

Closed wa0x6e closed 2 weeks ago

wa0x6e commented 3 weeks ago

Summary

Closes: https://github.com/snapshot-labs/stamp/issues/172

Changes

Only 1 change: increasing the fetched image height. The other changes are just CSS cleaning and DRY-ing

How to test

  1. Go to the /explore page, and a onchain space with cover image (ens, nostra)
  2. The space cover dimension should be better
bonustrack commented 3 weeks ago

Can you also use smaller image size for the cover on the page Explore? I did that on #403

wa0x6e commented 3 weeks ago

Maybe let's go with your PR if going with the different image size in props

bonustrack commented 3 weeks ago

I prefer your way actually with an image instead of a background image, this way you can open the image easily.

wa0x6e commented 3 weeks ago

Added. Also used a different smaller size for sm, still 2x bigger than actual size, for retina display.