mirror of
https://github.com/tobspr-games/shapez.io.git
synced 2026-01-24 05:20:52 -08:00
Fix css issue
This commit is contained in:
parent
d39ae528f0
commit
5ef7749a09
2 changed files with 10 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue