Properly position beta overlay

pull/1320/head
Даниїл Григор'єв 3 years ago
parent f00b8790bc
commit cc88afe935

@ -1,6 +1,6 @@
#ingame_HUD_BetaOverlay {
position: fixed;
@include S(top, 70px);
@include S(top, 10px);
left: 50%;
transform: translateX(-50%);
color: $colorRedBright;
@ -13,6 +13,10 @@
justify-content: center;
text-align: center;
&.demo {
@include S(top, 70px);
}
h2 {
@include PlainText;
}

@ -6,7 +6,7 @@ export class HUDBetaOverlay extends BaseHUDPart {
this.element = makeDiv(
parent,
"ingame_HUD_BetaOverlay",
[],
this.root.app.restrictionMgr.isLimitedVersion() ? ["demo"] : [],
"<h2>UNSTABLE BETA VERSION</h2><span>Unfinalized & potential buggy content!</span>"
);
}

Loading…
Cancel
Save