Plugin AP List: Fix table width problem in Firefox
This commit is contained in:
		@@ -36,7 +36,7 @@
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.ap-list-td-checkbox {
 | 
					.ap-list-td-checkbox {
 | 
				
			||||||
  width: 5%;
 | 
					  width: 18px;
 | 
				
			||||||
  height: 1px;
 | 
					  height: 1px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -46,18 +46,20 @@
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.ap-list-td-link-eny {
 | 
					.ap-list-td-link-eny {
 | 
				
			||||||
  width: 70%;
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.ap-list-td-link-frd {
 | 
					.ap-list-td-link-frd {
 | 
				
			||||||
  width: 75%;
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.ap-list-td-ap {
 | 
					.ap-list-td-ap {
 | 
				
			||||||
  width: 18%;
 | 
					  width: 44px;
 | 
				
			||||||
  white-space:nowrap;
 | 
					  white-space:nowrap;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.ap-list-td-eff-lv {
 | 
				
			||||||
 | 
					  width: 20px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.ap-list-checkbox-outer {
 | 
					.ap-list-checkbox-outer {
 | 
				
			||||||
  display: table;
 | 
					  display: table;
 | 
				
			||||||
  height: 100%;
 | 
					  height: 100%;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
// ==UserScript==
 | 
					// ==UserScript==
 | 
				
			||||||
// @id             iitc-plugin-ap-list@xelio
 | 
					// @id             iitc-plugin-ap-list@xelio
 | 
				
			||||||
// @name           IITC plugin: AP List
 | 
					// @name           IITC plugin: AP List
 | 
				
			||||||
// @version        0.4.4.@@DATETIMEVERSION@@
 | 
					// @version        0.4.5.@@DATETIMEVERSION@@
 | 
				
			||||||
// @namespace      https://github.com/jonatkins/ingress-intel-total-conversion
 | 
					// @namespace      https://github.com/jonatkins/ingress-intel-total-conversion
 | 
				
			||||||
// @updateURL      @@UPDATEURL@@
 | 
					// @updateURL      @@UPDATEURL@@
 | 
				
			||||||
// @downloadURL    @@DOWNLOADURL@@
 | 
					// @downloadURL    @@DOWNLOADURL@@
 | 
				
			||||||
@@ -60,14 +60,12 @@ window.plugin.apList.updatePortalTable = function(side) {
 | 
				
			|||||||
              + plugin.apList.tableHeaderBuilder(side)
 | 
					              + plugin.apList.tableHeaderBuilder(side)
 | 
				
			||||||
              + '</thead>';
 | 
					              + '</thead>';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  table += '<tbody>'
 | 
				
			||||||
  for(var i = 0; i < plugin.apList.topMaxCount; i++) {
 | 
					  for(var i = 0; i < plugin.apList.topMaxCount; i++) {
 | 
				
			||||||
    var portal = plugin.apList.sortedPortals[side][i];
 | 
					    var portal = plugin.apList.sortedPortals[side][i];
 | 
				
			||||||
    table += '<tbody>'
 | 
					    table += plugin.apList.tableRowBuilder(side, portal);
 | 
				
			||||||
             + plugin.apList.tableRowBuilder(side, portal)
 | 
					 | 
				
			||||||
             + '</tbody>';
 | 
					 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					  table += '</tbody></table>';
 | 
				
			||||||
  table += "</table>";
 | 
					 | 
				
			||||||
  $('div#ap-list-table').html(table);
 | 
					  $('div#ap-list-table').html(table);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user