Skip to content

Commit

Permalink
fix(wasm): splash screen now respects aspect ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
alextrepa committed Aug 26, 2020
1 parent 9cec3e1 commit d1d5448
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/Uno.UI/WasmCSS/Uno.UI.css
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,9 @@ embed.uno-frameworkelement.uno-unarranged {
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 620px;
height: 300px;
max-width: 620px;
width: calc(100vw - 10px);
height: auto;
background-repeat: no-repeat;
background-position: center;
background-size: 620px 300px;
Expand All @@ -198,8 +199,9 @@ embed.uno-frameworkelement.uno-unarranged {
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) !important;
width: 620px !important;
height: 300px !important;
max-width: 620px !important;
width: calc(100vw - 10px) !important;
height: auto !important;
background-repeat: no-repeat !important;
background-position: center !important;
background-size: 620px 300px !important;
Expand Down

0 comments on commit d1d5448

Please sign in to comment.