From 5f28ee8a7eabfeeee88d45f36d1d60047c23e801 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sun, 29 Dec 2019 19:55:43 -0700 Subject: [PATCH] Fix icon sizing --- www/assets/css/app.css | 4 ++++ www/assets/js/packages.js | 3 +++ www/pages/toolbox/scanner.html | 10 +++++----- www/pages/toolbox/sharelist.html | 2 +- www/pages/toolbox/track.html | 2 +- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/www/assets/css/app.css b/www/assets/css/app.css index 60ad4d2..7f63ac0 100644 --- a/www/assets/css/app.css +++ b/www/assets/css/app.css @@ -26,6 +26,10 @@ Framework7 and FontAwesome both have a .fab class font-size: var(--f7-block-font-size); } +.material-icons.material-icons-24px { + font-size: 24px; +} + .material-icons-intext .material-icons { font-size: var(--f7-block-font-size); } diff --git a/www/assets/js/packages.js b/www/assets/js/packages.js index c3470b3..aafcb8c 100644 --- a/www/assets/js/packages.js +++ b/www/assets/js/packages.js @@ -169,6 +169,9 @@ function importPackageList(newlist) { var latitude = newlist[latlng].coords[0]; var longitude = newlist[latlng].coords[1]; + latitude = latitude.toFixed(4); + longitude = longitude.toFixed(4); + for (pkg in newlist[latlng].items) { var added = false; for (var i = 0; i < packages.length; i++) { diff --git a/www/pages/toolbox/scanner.html b/www/pages/toolbox/scanner.html index e1d404e..4e2ceb7 100644 --- a/www/pages/toolbox/scanner.html +++ b/www/pages/toolbox/scanner.html @@ -37,13 +37,13 @@ - +
- info + info
- Scan barcodes while your postal scanner is crashed or restarting. - When the scanner is working again, you can scan all the saved - barcodes from your phone screen using the scanner's Manual Input or + Scan barcodes while your postal scanner is crashed or restarting. + When the scanner is working again, you can scan all the saved + barcodes from your phone screen using the scanner's Manual Input or Scan Barcode feature.
diff --git a/www/pages/toolbox/sharelist.html b/www/pages/toolbox/sharelist.html index d1c064e..b56a77f 100644 --- a/www/pages/toolbox/sharelist.html +++ b/www/pages/toolbox/sharelist.html @@ -56,7 +56,7 @@
- info + info
Share your delivery list to another device. The sender uploads the list, and the receiver(s) either scan the barcode on the sender's device, or diff --git a/www/pages/toolbox/track.html b/www/pages/toolbox/track.html index c5bacb1..34fabe5 100644 --- a/www/pages/toolbox/track.html +++ b/www/pages/toolbox/track.html @@ -41,7 +41,7 @@
- info + info
Compatible with USPS, UPS, FedEx, and DHL tracking codes. Can extract full delivery point address (and sometimes customer phone number)