decrease width from 800 to 700 pixels - resolves issues on mobile
This commit is contained in:
parent
99a0b3e975
commit
89b23e8fbc
@ -117,7 +117,7 @@ window.plugin.portalslist.displayPL = function() {
|
||||
dialogClass: 'ui-dialog-portalslist',
|
||||
title: 'Portal list: ' + window.plugin.portalslist.listPortals.length + ' ' + (window.plugin.portalslist.listPortals.length == 1 ? 'portal' : 'portals'),
|
||||
id: 'portal-list',
|
||||
width: 800
|
||||
width: 700
|
||||
});
|
||||
|
||||
//run the name resolving process
|
||||
@ -227,9 +227,6 @@ window.plugin.portalslist.getPortalLink = function(portal,guid) {
|
||||
var setup = function() {
|
||||
$('#toolbox').append(' <a onclick="window.plugin.portalslist.displayPL()" title="Display a list of portals in the current view">Portals list</a>');
|
||||
$('head').append('<style>' +
|
||||
//style.css sets dialog max-width to 700px - override that here
|
||||
// (the width: 800 parameter to dialog is NOT enough to override that css limit)
|
||||
'#dialog-portal-list {max-width: 800px !important;}' +
|
||||
'#portalslist table {margin-top:5px; border-collapse: collapse; empty-cells: show; width:100%; clear: both;}' +
|
||||
'#portalslist table td, #portalslist table th {border-bottom: 1px solid #0b314e; padding:3px; color:white; background-color:#1b415e}' +
|
||||
'#portalslist table tr.res td { background-color: #005684; }' +
|
||||
|
Loading…
x
Reference in New Issue
Block a user