summaryrefslogtreecommitdiff
path: root/Cydia.app/package.js
diff options
context:
space:
mode:
Diffstat (limited to 'Cydia.app/package.js')
-rw-r--r--Cydia.app/package.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/Cydia.app/package.js b/Cydia.app/package.js
index 762167a..1a8fc92 100644
--- a/Cydia.app/package.js
+++ b/Cydia.app/package.js
@@ -134,8 +134,9 @@ $(function () {
nid.html(id);
var width = nid.width();
- if (width > 240) {
- var spacing = (240.0 - nid.width()) / (id.length - 1) + "px";
+ var max = 238.0;
+ if (width > max) {
+ var spacing = (max - nid.width()) / (id.length - 1) + "px";
nid.css("letter-spacing", spacing);
}