From 641f47e44039debd309a5bc5c8509a4e3ea49d41 Mon Sep 17 00:00:00 2001 From: endercass <46408156+Endercass@users.noreply.github.com> Date: Tue, 14 Jan 2025 16:32:34 -0500 Subject: [PATCH] fix launcher height --- src/api/UI.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/api/UI.tsx b/src/api/UI.tsx index 99c5650c..55cc2d22 100644 --- a/src/api/UI.tsx +++ b/src/api/UI.tsx @@ -187,11 +187,9 @@ class AnuraUI { this.class ||= []; if (typeof this.class === "string") this.class = [this.class]; - const dynamicStyle: any = {}; - - if (this.width) dynamicStyle.width = this.width; - if (this.height) dynamicStyle.height = this.height; - if (this.margin) dynamicStyle.margin = this.margin; + this.width ||= "100%"; + this.height ||= "100%"; + this.margin ||= "0"; this.css = ` display: flex; @@ -219,7 +217,9 @@ class AnuraUI { return (