diff --git a/src/app/tools/tankopedia/[id]/components/Characteristics/index.tsx b/src/app/tools/tankopedia/[id]/components/Characteristics/index.tsx index 53be76097..22a41ecb7 100644 --- a/src/app/tools/tankopedia/[id]/components/Characteristics/index.tsx +++ b/src/app/tools/tankopedia/[id]/components/Characteristics/index.tsx @@ -9,7 +9,7 @@ import { Provisions } from './components/Provisions'; export function Characteristics() { return ( - + Configure @@ -60,11 +60,7 @@ export function Characteristics() { - + state.assigned); + const wideFormat = typeof window !== 'undefined' && window.innerWidth > 880; useEffect(() => { mutateDuel((draft) => { @@ -87,7 +88,7 @@ export default function Page({ params }: { params: { id: string } }) { @@ -96,7 +97,8 @@ export default function Page({ params }: { params: { id: string } }) { direction="column" style={{ flex: 1, - position: 'sticky', + position: wideFormat ? 'sticky' : undefined, + width: '100%', top: 64, }} > @@ -104,7 +106,9 @@ export default function Page({ params }: { params: { id: string } }) { - + + + )}