diff options
Merge pull request #380 from MetaMask/FrankieDisclaimer
Frankie disclaimer
Diffstat (limited to 'development/index.html')
-rw-r--r-- | development/index.html | 35 |
1 files changed, 12 insertions, 23 deletions
diff --git a/development/index.html b/development/index.html index 02fd01b03..aca074f3e 100644 --- a/development/index.html +++ b/development/index.html @@ -10,28 +10,17 @@ <div id="app-content" style="height: 100%"></div> <script src="./bundle.js" type="text/javascript" charset="utf-8"></script> - <!-- design reference --> - <link rel="stylesheet" type="text/css" href="../ui/app/css/debug.css"> - <div id="design-container"> - <!-- persist scroll position on refresh --> - <script type="text/javascript"> - var scrollElement = document.getElementById('design-container') - function getScrollPosition () { - var scrollTop = scrollElement.scrollTop, scrollLeft = scrollElement.scrollLeft - window.location.hash = 'scrollTop='+scrollTop+'&scrollLeft='+scrollLeft - } - window.onload = function () { - setInterval(getScrollPosition, 1000) - var hashLocation = window.location.hash.split('#')[1] - if (!hashLocation) return - var sections = hashLocation.split('&') - var scrollTop = sections[0].split('=')[1] - var scrollLeft = sections[1].split('=')[1] - scrollElement.scrollTop = scrollTop - scrollElement.scrollLeft = scrollLeft - } - </script> - </div> - </body> + +<style> +html, body, #app-content, .super-dev-container { + height: 100%; + width: 100%; + position: relative; + background: #cccccc; +} +.mock-app-root { + background: #F7F7F7; +} +</style> </html> |