about summary refs log tree commit diff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/InterestTabs.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/InterestTabs.tsx b/src/components/InterestTabs.tsx
index b61157ed8..aec421768 100644
--- a/src/components/InterestTabs.tsx
+++ b/src/components/InterestTabs.tsx
@@ -90,7 +90,7 @@ export function InterestTabs({
   }
 
   const canScrollLeft = scrollX > 0
-  const canScrollRight = scrollX < contentWidth - totalWidth
+  const canScrollRight = Math.ceil(scrollX) < contentWidth - totalWidth
 
   const cleanupRef = useRef<(() => void) | null>(null)