ソースを参照

Limit the height of the "licenses" in the about box.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4288 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 9 年 前
コミット
674f8e78ea
1 ファイル変更1 行追加1 行削除
  1. 1 1
      pages/ajax.render.php

+ 1 - 1
pages/ajax.render.php

@@ -1207,7 +1207,7 @@ EOF
 		$oPage->add("<div>");
 		$oPage->add('<fieldset>');
 		$oPage->add('<legend>'.Dict::S('UI:About:Licenses').'</legend>');
-		$oPage->add('<ul style="margin: 0; font-size: smaller;">');
+		$oPage->add('<ul style="margin: 0; font-size: smaller; max-height: 15em; overflow: auto;">');
 		foreach($aLicenses as $index => $oLicense)
 		{
 			$oPage->add('<li><b>'.$oLicense->product.'</b>, &copy; '.$oLicense->author.' is licensed under the <b>'.$oLicense->license_type.' license</b>. (<a id="toggle_'.$index.'" class="CollapsibleLabel" style="cursor:pointer;">Details</a>)');