alexweininger / recent-pdf

a chrome extension for easy access to recently viewed PDF files

Home Page:https://chrome.google.com/webstore/detail/recent-pdf/ihjgdammecebcjinfmllgniaeneabkdk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

file name formatting

alexweininger opened this issue · comments

When the name of a pdf file is too long it is displayed underneath the icon. It should always start on the same line of the icon.

Issue is shown in the screenshot (5th pdf in the list). Notice the diff between the rest of the items.

image

I think that it should truncate the filename with ellipsis

How to do this: https://css-tricks.com/snippets/css/truncate-string-with-ellipsis/

Some information on this issue can be found here #14

Hi @alexweininger i would like to contribute for this

@JayaKrishnaNamburu just pushed a fix to the dev branch I am going to make a pr soon.

Another issue should be make to try to truncate the url specifically at the end of a directory. So no directory names are cut off.

Closed with #19