chrome fixes

This commit is contained in:
Stefan Breunig 2013-02-04 10:12:20 +01:00
parent f92c963a54
commit cdef7d2496
3 changed files with 6 additions and 3 deletions

View File

@ -27,7 +27,7 @@ window.setupLargeImagePreview = function() {
window.setupStyles = function() { window.setupStyles = function() {
$('head').append('<style>' + $('head').append('<style>' +
[ '#largepreview.res img { border:2px solid '+COLORS[TEAM_RES]+'; } ', [ '#sidebar { margin-right: '+(SIDEBAR_WIDTH+2)+'px } ',
'#largepreview.enl img { border:2px solid '+COLORS[TEAM_ENL]+'; } ', '#largepreview.enl img { border:2px solid '+COLORS[TEAM_ENL]+'; } ',
'#largepreview.none img { border:2px solid '+COLORS[TEAM_NONE]+'; } ', '#largepreview.none img { border:2px solid '+COLORS[TEAM_NONE]+'; } ',
'#chatcontrols { bottom: '+(CHAT_SHRINKED+24)+'px; }', '#chatcontrols { bottom: '+(CHAT_SHRINKED+24)+'px; }',

View File

@ -15,7 +15,7 @@ body {
} }
#map { #map {
width: calc(100% - 302px); margin-right:302px;
} }
#sidebar { #sidebar {
@ -127,6 +127,8 @@ a:hover {
overflow-x:hidden; overflow-x:hidden;
overflow-y:scroll; overflow-y:scroll;
height: calc(100% - 4px); height: calc(100% - 4px);
height: -webkit-calc(100% - 4px);
height: -moz-calc(100% - 4px);
padding: 2px; padding: 2px;
} }
@ -431,6 +433,7 @@ aside:nth-child(odd) span {
/* update status */ /* update status */
#updatestatus { #updatestatus {
background: #000;
border-bottom: 0; border-bottom: 0;
border-top: 1px solid #c3c3c3; border-top: 1px solid #c3c3c3;
bottom: 0; bottom: 0;

View File

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @id ingress-intel-total-conversion@breunigs // @id ingress-intel-total-conversion@breunigs
// @name intel map total conversion // @name intel map total conversion
// @version 0.2-2013-02-04-025217 // @version 0.2-2013-02-04-025253
// @namespace https://github.com/breunigs/ingress-intel-total-conversion // @namespace https://github.com/breunigs/ingress-intel-total-conversion
// @updateURL https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/total-conversion-build.user.js // @updateURL https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/total-conversion-build.user.js
// @downloadURL https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/total-conversion-build.user.js // @downloadURL https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/total-conversion-build.user.js