Show More
@@ -1134,7 +1134,7 tbody .yui-dt-editable { cursor: pointer | |||
|
1134 | 1134 | width: 110%; |
|
1135 | 1135 | height:14px; |
|
1136 | 1136 | font-size:10px; |
|
1137 |
text-align:r |
|
|
1137 | text-align:center; | |
|
1138 | 1138 | cursor: pointer; |
|
1139 | 1139 | color:#666; |
|
1140 | 1140 |
@@ -146,7 +146,7 | |||
|
146 | 146 | |
|
147 | 147 | var msgs = YUQ('.message'); |
|
148 | 148 | // get first element height |
|
149 | var el = YUQ('.container')[0]; | |
|
149 | var el = YUQ('#graph_content .container')[0]; | |
|
150 | 150 | var row_h = el.clientHeight; |
|
151 | 151 | for(var i=0;i<msgs.length;i++){ |
|
152 | 152 | var m = msgs[i]; |
@@ -154,8 +154,9 | |||
|
154 | 154 | var h = m.clientHeight; |
|
155 | 155 | var pad = YUD.getStyle(m,'padding'); |
|
156 | 156 | if(h > row_h){ |
|
157 | var offset = row_h - (h+12); | |
|
157 | 158 | YUD.setStyle(m.nextElementSibling,'display','block'); |
|
158 |
YUD.setStyle(m.nextElementSibling,'margin-top', |
|
|
159 | YUD.setStyle(m.nextElementSibling,'margin-top',offset+'px'); | |
|
159 | 160 | }; |
|
160 | 161 | } |
|
161 | 162 | YUE.on(YUQ('.expand'),'click',function(e){ |
General Comments 0
You need to be logged in to leave comments.
Login now