mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
fix: some more floating component removals
This commit is contained in:
1 parent
9ef6eea4a9
commit
1982604878
3 files changed
+9
-4
No files matched your search
+3
-1
@@ -13,6 +13,7 @@ import Navbar from '../components/Navbar';
|
||||
import PageWrapper from '../components/PageWrapper';
|
||||
import isDev from '../core/blitzkrieg/isDev';
|
||||
import { isLocalhost } from '../core/blitzkrieg/isLocalhost';
|
||||
import { useFullScreen } from '../hooks/useFullScreen';
|
||||
import { useApp } from '../stores/app';
|
||||
import { mintTheme } from '../themes/mint';
|
||||
|
||||
@@ -33,6 +34,7 @@ export default function RootLayout({ children }: RootLayoutProps) {
|
||||
const pathname = usePathname();
|
||||
const isEmbed = pathname.split('/')[1] === 'embeds';
|
||||
const [showDevBuildAlert, setShowDevBuildAlert] = useState(false);
|
||||
const isFullScreen = useFullScreen();
|
||||
|
||||
useEffect(() => {
|
||||
setShowDevBuildAlert(
|
||||
@@ -100,7 +102,7 @@ export default function RootLayout({ children }: RootLayoutProps) {
|
||||
|
||||
<Flex direction="column">{children}</Flex>
|
||||
|
||||
{!isEmbed && (
|
||||
{!isEmbed && !isFullScreen && (
|
||||
<PageWrapper>
|
||||
<a
|
||||
target="_blank"
|
||||
|
||||
Reference in new issue
Block a user