# HG changeset patch # User Marcin Kuzminski # Date 2012-01-20 23:18:06 # Node ID af1fafcd5927cd811cb90167e0eec8e4447bf16f # Parent 3da456a3a2112320385022fbb9a2f7f8cf218b3f fixes expand button on changeset diff --git a/rhodecode/public/css/style.css b/rhodecode/public/css/style.css --- a/rhodecode/public/css/style.css +++ b/rhodecode/public/css/style.css @@ -1134,7 +1134,7 @@ tbody .yui-dt-editable { cursor: pointer width: 110%; height:14px; font-size:10px; - text-align:right; + text-align:center; cursor: pointer; color:#666; diff --git a/rhodecode/templates/changelog/changelog.html b/rhodecode/templates/changelog/changelog.html --- a/rhodecode/templates/changelog/changelog.html +++ b/rhodecode/templates/changelog/changelog.html @@ -146,7 +146,7 @@ var msgs = YUQ('.message'); // get first element height - var el = YUQ('.container')[0]; + var el = YUQ('#graph_content .container')[0]; var row_h = el.clientHeight; for(var i=0;i row_h){ + var offset = row_h - (h+12); YUD.setStyle(m.nextElementSibling,'display','block'); - YUD.setStyle(m.nextElementSibling,'margin-top',row_h-(h+14)+'px'); + YUD.setStyle(m.nextElementSibling,'margin-top',offset+'px'); }; } YUE.on(YUQ('.expand'),'click',function(e){