jerboa88 / Mergist

Mergist is an online tool to combine multiple PDF files into one
http://mergist.johng.io/
MIT License
3 stars 0 forks source link

Fix layout of file list on mobile #20

Closed jerboa88 closed 2 years ago

jerboa88 commented 2 years ago

Helpful info

Describe the bug Mobile device screens are not always big enough to display the add/remove buttons and files in the file list. On small screen widths, we should:

Steps to reproduce Steps to reproduce the behavior:

  1. Open the site on a mobile device or emulate one via devtools
  2. Add some PDF files
  3. Notice that cards extend beyond the parent container horizontally and that add/remove buttons are cut off or not visible at all

Expected behavior All elements should remain visible on small width screens, no matter how long filenames are.

Screenshots localhost_8000_(iPhone 12 Pro)

jerboa88 commented 2 years ago

Fixed in 8ba17137d1034103db25120d92c1d74df3207241. Font size changes and card swiping can be completed in a separate ticket if required, but these changes don't seem necessary atm.