[keys] fix layout of buttons in portals-list on mobile

This commit is contained in:
fkloft 2014-08-29 20:41:20 +02:00
parent de999f43c0
commit 5339e55542
2 changed files with 6 additions and 2 deletions

View File

@ -73,7 +73,11 @@
min-width: 0;
padding: 0;
width: 1.5em;
margin: -0.5em 0;
margin: -6px 0 -3px;
}
#portalslist.mobile .portal-list-keys button {
width: 3em;
height: 1.5em;
}
.portal-list-keys .plus {
margin-left: 0.3em;

View File

@ -216,7 +216,7 @@ window.plugin.keys.setupPortalsList = function() {
},
format: function(cell, portal, guid) {
$(cell)
.addClass("alignR portal-list-keys")
.addClass("alignR portal-list-keys ui-dialog-buttonset") // ui-dialog-buttonset for proper button styles
.append($('<span>')
.text(plugin.keys.keys[guid] || 0)
.attr({