homepage: display widget in full size

This commit is contained in:
mappu 2017-10-15 18:49:46 +13:00
parent a5008ab455
commit ac768524ee
1 changed files with 17 additions and 4 deletions

View File

@ -7,9 +7,20 @@
<style type="text/css"> <style type="text/css">
html, body { html, body {
font-family: sans-serif; font-family: sans-serif;
margin:0;
width:100%;
height:100%;
}
#padder {
height:100%;
position:relative;
} }
#surrogate-area { #surrogate-area {
height:300px; position:absolute;
top:10px;
bottom:10px;
left:10px;
right:10px;
} }
/* hide close button */ /* hide close button */
.contented-close { .contented-close {
@ -18,9 +29,11 @@ html, body {
</style> </style>
</head> </head>
<body> <body>
<div id="surrogate-area"> <div id="padder">
Loading... <div id="surrogate-area">
</div> Loading...
</div>
</div>
<script type="text/javascript" src="/jquery-1.12.4.min.js"></script> <script type="text/javascript" src="/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="/sdk.js"></script> <script type="text/javascript" src="/sdk.js"></script>