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> </article>
<ImageViewer ref="imageViewer" /> <ImageViewer ref="imageViewer" />
<ContextMenu ref="contextMenu" /> <ContextMenu ref="contextMenu" />
<div id="upload-overlay"></div>
</div> </div>
</template> </template>

View file

@ -48,6 +48,7 @@
</head> </head>
<body class="<%- public ? " public" : "" %>" data-transports="<%- JSON.stringify(transports) %>"> <body class="<%- public ? " public" : "" %>" data-transports="<%- JSON.stringify(transports) %>">
<div id="viewport"></div>
<div id="loading"> <div id="loading">
<div class="window"> <div class="window">
<div id="loading-status-container"> <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> <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> <button id="loading-reload" class="btn">Reload page</button>
</div> </div>
<script src="js/loading-error-handlers.js?v=<%- cacheBust %>"></script>
</div> </div>
</div> </div>
<div id="viewport"></div> <script src="js/loading-error-handlers.js?v=<%- cacheBust %>"></script>
<div id="upload-overlay"></div>
<script src="js/bundle.vendor.js?v=<%- cacheBust %>"></script> <script src="js/bundle.vendor.js?v=<%- cacheBust %>"></script>
<script src="js/bundle.js?v=<%- cacheBust %>"></script> <script src="js/bundle.js?v=<%- cacheBust %>"></script>
</body> </body>

View file

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