Skip to content

Commit 96d0912

Browse files
AmirMohammad CheraghaliAmirMohammad Cheraghali
authored andcommitted
fix(tour): Hide Sequence Step on Mobile
1 parent 2c3f1c7 commit 96d0912

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/components/TourGuide.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ export const startOnboardingTour = (onComplete?: () => void, onHighlight?: (elem
4747
: 'Measure distances, view contact maps, or inspect specific properties.'
4848
}
4949
},
50-
{
50+
// Sequence Track (Atom List) - Desktop Only
51+
...(window.innerWidth >= 768 ? [{
5152
element: '#sequence-track',
5253
popover: {
5354
title: isChemical ? 'Atom List' : 'Sequence Track',
@@ -57,7 +58,7 @@ export const startOnboardingTour = (onComplete?: () => void, onHighlight?: (elem
5758
side: 'left' as const,
5859
align: 'center' as const
5960
}
60-
},
61+
}] : []),
6162
// Protein Only Steps
6263
...(!isChemical ? [
6364
{

0 commit comments

Comments
 (0)