From 2a1258a8208a8894ae17190f5cb772fa0a6a5c16 Mon Sep 17 00:00:00 2001 From: Ahmed Al-Taiar Date: Fri, 2 May 2025 22:44:35 -0400 Subject: [PATCH] Fix broken PC UI on iOS --- src/components/scene/Scene.tsx | 8 ++------ src/components/ui/PCUI.tsx | 26 +++++++++++++------------- 2 files changed, 15 insertions(+), 19 deletions(-) diff --git a/src/components/scene/Scene.tsx b/src/components/scene/Scene.tsx index 0582c26..637afed 100644 --- a/src/components/scene/Scene.tsx +++ b/src/components/scene/Scene.tsx @@ -244,7 +244,7 @@ export function Scene(props: JSX.IntrinsicElements["group"]) { currentView === View.PCView ? "auto" : "none" } occlude="blending" - className="w-[1452px] h-[810px] bg-neutral-400" + className="w-[1452px] h-[810px] bg-[#0e1838]" scale={10} position={[0, 170, 0.25]} raycast={ @@ -253,12 +253,8 @@ export function Scene(props: JSX.IntrinsicElements["group"]) { : undefined } distanceFactor={10} - style={{ - backgroundImage: "url(/assets/pc-bg.webp)", - backgroundColor: "#111535", - }} > -
+
diff --git a/src/components/ui/PCUI.tsx b/src/components/ui/PCUI.tsx index 2aeaed6..c12b3a7 100644 --- a/src/components/ui/PCUI.tsx +++ b/src/components/ui/PCUI.tsx @@ -308,11 +308,11 @@ const Window: FC> = ({ children, ...props }) => {

@@ -321,21 +321,21 @@ const Window: FC> = ({ children, ...props }) => {

-
+
> = ({ children, ...props }) => { >
@@ -417,7 +417,7 @@ const Window: FC> = ({ children, ...props }) => { defaultValue="/home/ahmed/Desktop/projects" />
-
+
{
@@ -454,19 +454,19 @@ const Taskbar = () => {