opennic / opennic-web

Official OpenNIC Homepage
https://www.opennic.org/
45 stars 13 forks source link

Force wrap the cryptocurrency addresses #40

Closed jonaharagon closed 6 years ago

jonaharagon commented 6 years ago

Fixes #36. Force wraps the cryptocurrency addresses so they fit in the window, as shown here in a mobile viewport. Is this a good solution? https://jda.mn/dhiz9

jonaharagon commented 6 years ago

Deploy preview for opennic ready!

Built with commit f20d628115ce4b83d629e2e4dd318e23cc1b4e26

https://deploy-preview-40--opennic.netlify.com

Fusl commented 6 years ago

Not to be a PITA but does anything speak against truncating the text and showing three dots at the end?

  text-overflow: ellipsis;
  /* Required for text-overflow to do anything */
  white-space: nowrap;
  overflow: hidden;
jonaharagon commented 6 years ago

@Fusl uh well if you want people to actually send you money they probably need the full address 😛

jonaharagon commented 6 years ago

(That's exactly how I copy things... maybe I need to be more efficient)

Thanks, pushing through.