瀏覽代碼

Fix the height of the terminal window in the web UI

Solomon Hykes 12 年之前
父節點
當前提交
be3563cebb
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      dockerd/dockerweb.html

+ 2 - 1
dockerd/dockerweb.html

@@ -179,7 +179,7 @@ b)}catch(f){i(f,"onCommandChange");throw f;}t()},commands:x});O.append(b);l.enab
 		}
 
 		div#term{
-		  height:100%
+		  height:500px;
 		}
     </style>
 	<script type="text/javascript">
@@ -209,6 +209,7 @@ b)}catch(f){i(f,"onCommandChange");throw f;}t()},commands:x});O.append(b);l.enab
 		name: 'docker',
 		height: 200,
 		prompt: 'docker> '});
+	$('#term').css('height', '90%');
 	});
 	</script>
 </head>