We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8f3337 commit 4c20d96Copy full SHA for 4c20d96
src/components/layout/root/Root.tsx
@@ -1,5 +1,6 @@
1
import { ClientOnly } from '~/components/common/ClientOnly'
2
import { BackToTopFAB, FABContainer } from '~/components/ui/fab'
3
+import { OnlyDesktop } from '~/components/ui/viewport'
4
5
import { Content } from '../content/Content'
6
import { Footer } from '../footer'
@@ -14,7 +15,9 @@ export const Root: Component = ({ children }) => {
14
15
<Footer />
16
<ClientOnly>
17
<FABContainer>
- <BackToTopFAB />
18
+ <OnlyDesktop>
19
+ <BackToTopFAB />
20
+ </OnlyDesktop>
21
</FABContainer>
22
</ClientOnly>
23
</>
0 commit comments