From e97925b7f0ce45cb89ebfe2f51a368d4584e3ab3 Mon Sep 17 00:00:00 2001 From: Xelio Date: Mon, 25 Mar 2013 15:10:46 +0800 Subject: [PATCH] Plugin AP List: Fix table width problem in Firefox --- plugins/ap-list.css | 10 ++++++---- plugins/ap-list.user.js | 10 ++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/plugins/ap-list.css b/plugins/ap-list.css index c54365f6..2e73f3b4 100644 --- a/plugins/ap-list.css +++ b/plugins/ap-list.css @@ -36,7 +36,7 @@ } .ap-list-td-checkbox { - width: 5%; + width: 18px; height: 1px; } @@ -46,18 +46,20 @@ } .ap-list-td-link-eny { - width: 70%; } .ap-list-td-link-frd { - width: 75%; } .ap-list-td-ap { - width: 18%; + width: 44px; white-space:nowrap; } +.ap-list-td-eff-lv { + width: 20px; +} + .ap-list-checkbox-outer { display: table; height: 100%; diff --git a/plugins/ap-list.user.js b/plugins/ap-list.user.js index 1caeafbd..882a4ef9 100644 --- a/plugins/ap-list.user.js +++ b/plugins/ap-list.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @id iitc-plugin-ap-list@xelio // @name IITC plugin: AP List -// @version 0.4.4.@@DATETIMEVERSION@@ +// @version 0.4.5.@@DATETIMEVERSION@@ // @namespace https://github.com/jonatkins/ingress-intel-total-conversion // @updateURL @@UPDATEURL@@ // @downloadURL @@DOWNLOADURL@@ @@ -60,14 +60,12 @@ window.plugin.apList.updatePortalTable = function(side) { + plugin.apList.tableHeaderBuilder(side) + ''; + table += '' for(var i = 0; i < plugin.apList.topMaxCount; i++) { var portal = plugin.apList.sortedPortals[side][i]; - table += '' - + plugin.apList.tableRowBuilder(side, portal) - + ''; + table += plugin.apList.tableRowBuilder(side, portal); } - - table += ""; + table += ''; $('div#ap-list-table').html(table); }