diff options
Diffstat (limited to 'static')
-rw-r--r-- | static/files/def.js | 4 | ||||
-rw-r--r-- | static/files/style.css | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/static/files/def.js b/static/files/def.js index fea41239..486c7a4a 100644 --- a/static/files/def.js +++ b/static/files/def.js @@ -97,7 +97,7 @@ function dropDown(e) { ddy += obj.offsetTop; } while(obj = obj.offsetParent); if(tg.className.indexOf('above') >= 0) { - ddx += 16; + ddx += 25; ddy -= x(tg.rel).offsetHeight - 20; } else @@ -112,7 +112,7 @@ function dropDown(e) { var mouseX = e.pageX || (e.clientX + document.body.scrollLeft + document.documentElement.scrollLeft); var mouseY = e.pageY || (e.clientY + document.body.scrollTop + document.documentElement.scrollTop); var obj = x(dds.rel); - if((mouseX < ddx-15 || mouseX > ddx+obj.offsetWidth+5 || mouseY < ddy-20 || mouseY > ddy + obj.offsetHeight) + if((mouseX < ddx-25 || mouseX > ddx+obj.offsetWidth+5 || mouseY < ddy-20 || mouseY > ddy + obj.offsetHeight) || (tg.nodeName.toLowerCase() == 'a' && tg.className.indexOf('dropdown') >= 0 && tg != dds)) { obj.style.left = '-500px'; dds = null; diff --git a/static/files/style.css b/static/files/style.css index b383369a..bda1e368 100644 --- a/static/files/style.css +++ b/static/files/style.css @@ -784,8 +784,8 @@ b.diff_del { font-weight: normal; background-color: #fcc; } #tre .tc2 { width: 50px; text-align: center; white-space: nowrap; } #tre .tc3, #tre .tc6 { width: 16px; margin: 0; padding: 0; white-space: nowrap; text-align: right } #tre .tc3 { width: 70px; } -#tre .tc5 { width: 15px; text-align: right; padding-right: 10px; } -#tre .tc5 a { display: block; width: 15px; text-decoration: none; color: #333; } +#tre .tc5 { width: 25px; text-align: right; padding-right: 10px; } +#tre .tc5 a { display: block; width: 25px; text-align: right;text-decoration: none; } #tbv .tc2 acronym, #tbv .tc3 acronym { zoom: 1; |