managarten/apps/quote/apps/mobile/constants/layout.ts
Wuesteon d36b321d9d style: auto-format codebase with Prettier
Applied formatting to 1487+ files using pnpm format:write
  - TypeScript/JavaScript files
  - Svelte components
  - Astro pages
  - JSON configs
  - Markdown docs

  13 files still need manual review (Astro JSX comments)
2025-11-27 18:33:16 +01:00

19 lines
682 B
TypeScript

// Global layout constants for consistent spacing across the app
// List item spacing
export const LIST_ITEM_SPACING = {
horizontal: 16, // px-4 in Tailwind = 16px
vertical: 20, // mb-5 in Tailwind = 20px - größerer Abstand
};
// Padding for list containers
export const LIST_CONTAINER_PADDING = {
top: 140, // Increased space for header with blur to prevent cards from touching header
bottom: 160, // Space for segmented controls and tab bar
};
// Tailwind class names for consistent spacing
export const LIST_ITEM_CLASSES = {
wrapper: 'px-4 mb-5', // Horizontal padding and bottom margin - größerer Abstand mb-5
wrapperNoMargin: 'px-4', // Just horizontal padding
};