Move upload-overlay to viewport

This commit is contained in:
Pavel Djundik 2019-11-20 19:56:06 +02:00
parent 21bbe7d4c3
commit f00dfc7524
3 changed files with 3 additions and 9 deletions

View file

@ -7,6 +7,7 @@
</article>
<ImageViewer ref="imageViewer" />
<ContextMenu ref="contextMenu" />
<div id="upload-overlay"></div>
</div>
</template>

View file

@ -48,6 +48,7 @@
</head>
<body class="<%- public ? " public" : "" %>" data-transports="<%- JSON.stringify(transports) %>">
<div id="viewport"></div>
<div id="loading">
<div class="window">
<div id="loading-status-container">
@ -59,13 +60,9 @@
<p id="loading-slow">This is taking longer than it should, there might be connectivity issues.</p>
<button id="loading-reload" class="btn">Reload page</button>
</div>
<script src="js/loading-error-handlers.js?v=<%- cacheBust %>"></script>
</div>
</div>
<div id="viewport"></div>
<div id="upload-overlay"></div>
<script src="js/loading-error-handlers.js?v=<%- cacheBust %>"></script>
<script src="js/bundle.vendor.js?v=<%- cacheBust %>"></script>
<script src="js/bundle.js?v=<%- cacheBust %>"></script>
</body>

View file

@ -17,10 +17,6 @@
padding: 0;
}
#viewport #sign-in {
margin-left: 0;
}
#footer .icon {
border-radius: 0;
}