mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
fix window height issue
This commit is contained in:
@@ -6,6 +6,13 @@ function load_notebook(url){
|
||||
});
|
||||
}
|
||||
|
||||
function append_notebook(url){
|
||||
clear_main_area();
|
||||
$('#main').append('<iframe frameBorder="0" seamless="seamless" style="width: 100%; height: 100%; overflow:auto;" scrolling="yes" src="'+ url +'"></iframe>'
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
function keep_alive(notebook_access_url){
|
||||
/**
|
||||
* This is needed to keep the container alive. If the user leaves this site
|
||||
|
||||
@@ -40,7 +40,7 @@ requirejs(['interactive_environments', 'plugin/phinch'], function(){
|
||||
});
|
||||
|
||||
</script>
|
||||
<div id="main" style="width: 100%; height: 5000px;">
|
||||
<div id="main" style="width: 100%; height: 100%; overflow:hidden;">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user