diff --git a/admin-spa/src/App.tsx b/admin-spa/src/App.tsx index 8762380..2d6f1c4 100644 --- a/admin-spa/src/App.tsx +++ b/admin-spa/src/App.tsx @@ -329,8 +329,8 @@ function Header({ onFullscreen, fullscreen, showToggle = true, scrollContainerRe } }; - // Hide header completely on mobile in standalone mode - if (isStandalone && typeof window !== 'undefined' && window.innerWidth < 768) { + // Hide header completely on mobile in fullscreen mode (both standalone and wp-admin fullscreen) + if (fullscreen && typeof window !== 'undefined' && window.innerWidth < 768) { return null; } @@ -485,7 +485,7 @@ function Shell() { ) : ( -
+
{!isMorePage && (isDashboardRoute ? ( ) : ( diff --git a/admin-spa/src/components/FAB.tsx b/admin-spa/src/components/FAB.tsx index 3b0a6c0..9f3822a 100644 --- a/admin-spa/src/components/FAB.tsx +++ b/admin-spa/src/components/FAB.tsx @@ -1,7 +1,6 @@ import React from 'react'; import { Plus } from 'lucide-react'; import { useFAB } from '@/contexts/FABContext'; -import { Button } from '@/components/ui/button'; export function FAB() { const { config } = useFAB(); @@ -11,13 +10,12 @@ export function FAB() { } return ( - + ); }