linterna-magica-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linterna-magica-commit] [210] More fixes for bugs #34465.


From: Ivaylo Valkov
Subject: [linterna-magica-commit] [210] More fixes for bugs #34465.
Date: Thu, 24 Nov 2011 16:05:48 +0000

Revision: 210
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=210
Author:   valkov
Date:     2011-11-24 16:05:48 +0000 (Thu, 24 Nov 2011)
Log Message:
-----------
More fixes for bugs #34465. li elements should have fixed width to prevent 
displacement.

Ticket Links:
------------
    http://savannah.gnu.org/bugs/?34465

Modified Paths:
--------------
    trunk/src/lm_interface_hd_links.js

Modified: trunk/src/lm_interface_hd_links.js
===================================================================
--- trunk/src/lm_interface_hd_links.js  2011-10-26 10:40:18 UTC (rev 209)
+++ trunk/src/lm_interface_hd_links.js  2011-11-24 16:05:48 UTC (rev 210)
@@ -121,7 +121,7 @@
            {
                // Increase the width ~twice. Higher values than 1.85
                // leave too much empty space at the right of the div.
-               var w = hd_list.clientWidth * 1.85 ;
+               var w = hd_list.clientWidth * 2.085;
                var h = 0;
 
                var links = hd_list.getElementsByTagName("li");
@@ -139,6 +139,7 @@
                {
                    var li = links[i];
                    li.style.setProperty("float", "left", "important");
+                   li.style.setProperty("width", "270px", "important");
                }
 
                // Half the height. The "float:left" renders in two




reply via email to

[Prev in Thread] Current Thread [Next in Thread]