p2plabsxyz / dscan

A decentralized storage and file-sharing tool that uploads content to IPFS and generates decentralized QR codes.
https://chromewebstore.google.com/detail/dscan-own-your-identity-o/idpfgkgogjjgklefnkjdpghkifbjenap
MIT License
36 stars 26 forks source link

[bug]: the long URI doesn't fit in the IPFS gateway URI text field #16

Closed akhileshthite closed 2 years ago

akhileshthite commented 2 years ago

Long URI: Screenshot 2022-03-11 at 11 43 09 AM

Should look like this: Screenshot 2022-03-11 at 3 45 52 PM

CSS code: https://github.com/buidltools/dscan/blob/045fd8ace369ec30dc074e2bab138278b31543a3/src/css/popup.css#L194

For development setup and contributing guide, check the main README.md.

atifcppprogrammer commented 2 years ago

Hi @AkhileshThite, how would you like to address this ? There are one of two ways here, which would you prefer.

  1. Make the URI container div scrollable.
  2. Make the URI container div expand to fit its content.
akhileshthite commented 2 years ago

Hi @AkhileshThite, how would you like to address this ? There are one of two ways here, which would you prefer.

  1. Make the URI container div scrollable.
  2. Make the URI container div expand to fit its content.
  1. It is scrollable already.
  2. No. By expanding its width, it's not going to fit in the extension's window, it won't look good.

There's something with display: prop in css.