Fix css issue

pull/1415/merge
tobspr 2 years ago
parent d39ae528f0
commit 5ef7749a09

@ -18,6 +18,12 @@
}
}
&.withinDemo {
> .dialog {
@include S(padding-top, 60px);
}
}
.dialog {
// background: rgba(#222428, 0.5);
@include S(border-radius, $globalBorderRadius);

@ -31,6 +31,10 @@ export class HUDUnlockNotification extends BaseHUDPart {
this.element = makeDiv(parent, "ingame_HUD_UnlockNotification", ["noBlur"]);
if (G_IS_STEAM_DEMO || !G_IS_STANDALONE) {
this.element.classList.add("withinDemo");
}
const dialog = makeDiv(this.element, null, ["dialog"]);
this.elemTitle = makeDiv(dialog, null, ["title"]);

Loading…
Cancel
Save