gterm/index.html

47 lines
684 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>{{.AppName}}</title>
<style>
html::-webkit-scrollbar,
body::-webkit-scrollbar,
div::-webkit-scrollbar {
display: none;
width: 0;
}
html,
body {
margin: 0;
overflow: hidden;
padding: 0;
}
div#terminal {
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
div#terminal div {
height: 100%;
}
.xterm-viewport,
.xterm-screen {
height: 100%;
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<div id="terminal"></div>
<script type="module" src="./main.js"></script>
</body>
</html>