This commit is contained in:
chenyang
2022-07-09 11:45:27 +08:00
parent 3441e59a76
commit bd3fae8bb7
2 changed files with 20 additions and 8 deletions
+6 -7
View File
@@ -8,8 +8,8 @@
<link rel="stylesheet" type="text/css" href="/static/bootstrap-4.6.1-dist/css/bootstrap.css">
<style>
#jsmind_container {
width: 100%;
height: 800px;
width: calc(100vw);
height: calc(100vh - 50px);
}
</style>
<script src="/static/js/jquery-1.11.3.min.js"></script>
@@ -136,11 +136,10 @@
</script>
</head>
<body>
<div>
<input type="button" value="折叠" onclick="xxObj.collapse_all()">
<input type="button" value="展开" onclick="xxObj.expand_all()">
</div>
<h3 id="h1" style="text-align: center;"></h3>
<!-- -->
<input type="button" value="折叠" onclick="xxObj.collapse_all()" style="position: absolute;top: 0px;z-index: 1000;">
<input type="button" value="展开" onclick="xxObj.expand_all()" style="position: absolute;top: 40px;z-index: 1000;">
<h3 id="h1" style="text-align: center;max-height: 40px;"></h3>
<div id="jsmind_container"></div>
</body>
</html>