mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-04-01 03:43 am

[dw-free] create.bml popups are cut off

[commit: http://hg.dwscoalition.org/dw-free/rev/1138cfcfec8f]

http://bugs.dwscoalition.org/show_bug.cgi?id=609

Fix tooltip CSS so they don't go sailing off the edge.

Patch by [personal profile] juliet.

Files modified:
  • htdocs/js/widgets/createaccount.js
  • htdocs/stc/widgets/createaccount.css
--------------------------------------------------------------------------------
diff -r 0ca538b1c6ee -r 1138cfcfec8f htdocs/js/widgets/createaccount.js
--- a/htdocs/js/widgets/createaccount.js	Tue Mar 31 05:36:18 2009 +0000
+++ b/htdocs/js/widgets/createaccount.js	Wed Apr 01 03:43:15 2009 +0000
@@ -71,10 +71,10 @@ CreateAccount.showTip = function (id) {
         if (box && box_arr) {
             box.innerHTML = text;
 
-            box.style.top = y - 260 + "px";
+            box.style.top = y - 230 + "px";
             box.style.display = "block";
 
-            box_arr.style.top = y - 255 + "px";
+            box_arr.style.top = y - 225 + "px";
             box_arr.style.display = "block";
         }
     }
diff -r 0ca538b1c6ee -r 1138cfcfec8f htdocs/stc/widgets/createaccount.css
--- a/htdocs/stc/widgets/createaccount.css	Tue Mar 31 05:36:18 2009 +0000
+++ b/htdocs/stc/widgets/createaccount.css	Wed Apr 01 03:43:15 2009 +0000
@@ -29,7 +29,7 @@
     background-color: #fcf6db;
     border: 1px solid #ffdfc0;
     padding: 5px;
-    width: 400px;
+    width: 300px;
     left: 500px;
 }
 
--------------------------------------------------------------------------------