heikkilevanto / beertracker

Simple script to track the beers I drink
GNU General Public License v2.0
2 stars 1 forks source link

Shorten names in short list #202

Closed heikkilevanto closed 2 years ago

heikkilevanto commented 2 years ago

Something like 'F' for Fermentoren, 'Øb' for Ølbaren, 'H' for home, 'D' for Dennis.

That way, the short list entries are not so likely to split into multiple lines.

Maybe also in other lists.

heikkilevanto commented 2 years ago

This could also be done by mass-editing the data file, using those short names everywhere. But that will not work for other users, and may be confusing for myself.

heikkilevanto commented 2 years ago

Fixed. Added a short list of abbreviated names. Also removed the line-breaking logic, delegated that to the browser by using &nbsp instead of spaces in the names. Looks ok on my phone, and on my computer, where it does not break any lines.