]> jfr.im git - irc/quakenet/qwebirc.git/commitdiff
Improve menu a bit.
authorChris Porter <redacted>
Sun, 7 Dec 2008 01:13:39 +0000 (01:13 +0000)
committerChris Porter <redacted>
Sun, 7 Dec 2008 01:13:39 +0000 (01:13 +0000)
js/ui/frontends/qui.js
static/css/qui.css

index acdf5cde61608c486f85047224d7779803751242..c9bcf3ac3821173195df456bc4b56f144ac113de 100644 (file)
@@ -90,13 +90,12 @@ qwebirc.ui.QUI = new Class({
         return;
       }
       this.parentElement.appendChild(surface);
-
+/*
       var left = x.client.x;
       var top = x.client.y;
-      if(left < 0)
-        left = 0;
-      if(top < 0)
-        top = 0;
+      */
+      /* -1 == border */
+      top = this.tabs.getSize().y - 1;
         
       dropdownMenu.setStyle("left", left);
       dropdownMenu.setStyle("top", top);
index be02f243c717c9dd93808d1f8a6d8cf309174114..aa77de7956f95a6b8d1ae2bc0a1ab6dfb8857aa4 100644 (file)
@@ -225,7 +225,6 @@ div#noscript {
   width: auto;
   top: 10px;
   left: 10px;
-  padding: 3px;
   background: #f2f0ff;
 }
 
@@ -236,7 +235,9 @@ div#noscript {
   cursor: pointer;
   cursor: hand;  
   padding-top: 1px;
+  padding-left: 3px;
   padding-bottom: 1px;
+  padding-right: 3px;
 }
 
 .qwebirc-qui div.dropdownmenu a:hover {