Skip to content

Commit

Permalink
fix: Adjust splash screen image sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Apr 9, 2023
1 parent 5d9d0a0 commit 49e229f
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/Uno.Wasm.Bootstrap/WasmCSS/uno-bootstrap.css
Expand Up @@ -21,16 +21,17 @@
}

.uno-loader .logo {
width: auto;
height: auto;
/* Protect the width and height of the logo to fit the screen */
max-width: 70vw;
max-height: 70vh;
/* Center the logo */
position: absolute;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
max-width: min(90%, 620px);
max-height: min(90%, 300px);
width: auto;
height: auto;
background-repeat: no-repeat;
background-position: center;
background-size: 620px 300px;
}

.uno-loader progress {
Expand Down

0 comments on commit 49e229f

Please sign in to comment.