Use rem for loading spinner, fix frame bug when loader is scaled up.

This commit is contained in:
Daniel Scalzi 2020-05-26 23:25:02 -04:00
parent d9394432d2
commit ab51b84bea
No known key found for this signature in database
GPG Key ID: D18EA3FB4B142A57
2 changed files with 5 additions and 2 deletions

View File

@ -58,6 +58,7 @@
/* Windows frame button dock. */ /* Windows frame button dock. */
#frameButtonDockWin { #frameButtonDockWin {
display: flex;
-webkit-app-region: no-drag !important; -webkit-app-region: no-drag !important;
position: relative; position: relative;
top: -2px; top: -2px;
@ -83,6 +84,7 @@
height: 22px; height: 22px;
width: 39px; width: 39px;
cursor: pointer; cursor: pointer;
line-height: 22px;
} }
.frameButton:hover, .frameButton:hover,
.frameButton:focus { .frameButton:focus {

View File

@ -13,6 +13,7 @@
justify-content: center; justify-content: center;
width: 100%; width: 100%;
height: calc(100% - 22px); height: calc(100% - 22px);
overflow: hidden;
} }
/* Loading content container. */ /* Loading content container. */
@ -35,13 +36,13 @@
/* Stationary image for the spinner. */ /* Stationary image for the spinner. */
#loadCenterImage { #loadCenterImage {
position: absolute; position: absolute;
width: 277px; width: 17.3125rem;
height: auto; height: auto;
} }
/* Rotating image for the spinner. */ /* Rotating image for the spinner. */
#loadSpinnerImage { #loadSpinnerImage {
width: 280px; width: 17.5rem;
height: auto; height: auto;
z-index: 400; z-index: 400;
} }