Changeset - af1fafcd5927
[Not reviewed]
beta
0 2 0
Marcin Kuzminski - 14 years ago 2012-01-21 00:18:06
marcin@python-works.com
fixes expand button on changeset
2 files changed with 4 insertions and 3 deletions:
0 comments (0 inline, 0 general)
rhodecode/public/css/style.css
Show inline comments
 
@@ -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;
 
rhodecode/templates/changelog/changelog.html
Show inline comments
 
@@ -146,7 +146,7 @@ ${c.repo_name} ${_('Changelog')} - ${c.r
 

	
 
                    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<msgs.length;i++){
 
                    	var m = msgs[i];
 
@@ -154,8 +154,9 @@ ${c.repo_name} ${_('Changelog')} - ${c.r
 
                    	var h = m.clientHeight;
 
                    	var pad = YUD.getStyle(m,'padding');
 
                    	if(h > 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){
0 comments (0 inline, 0 general)