Fix bottom tab bar padding and improve edge swipe
- Remove extra top padding when tab bar is at bottom - Increase edge swipe threshold from 30px to 50px - Reduce minimum swipe distance from 50px to 40px 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,8 +3,8 @@ import type { ReactNode } from 'react';
|
||||
import { useAuth } from './AuthContext';
|
||||
import { settingsAPI } from '../api/client';
|
||||
|
||||
const EDGE_SWIPE_THRESHOLD = 30; // pixels from left edge to start swipe
|
||||
const SWIPE_MIN_DISTANCE = 50; // minimum swipe distance to trigger
|
||||
const EDGE_SWIPE_THRESHOLD = 50; // pixels from left edge to start swipe
|
||||
const SWIPE_MIN_DISTANCE = 40; // minimum swipe distance to trigger
|
||||
|
||||
export type SidebarMode = 'collapsed' | 'expanded' | 'toggle' | 'dynamic';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user