<AuthProvider>
<div className="flex flex-col min-h-screen">
<AppHeader />
- <main className="flex-grow pt-20" style={{ paddingTop: '64px' }}> {/* Padding for sticky header */}
+ <main className="flex-grow pt-40" style={{ paddingTop: '64px' }}> {/* Padding for sticky header */}
<AppRoutes />
</main>
</div>
-@import "../index.css";
-
-.container {
- @apply max-w-7xl mx-auto p-4;
+/* src/styles/App.css */
+@layer components {
+ .container {
+ @apply max-w-7xl mx-auto p-4;
+ }
}
.table-header {
presets: [],
darkMode: 'class',
theme: {
- accentColor: ({ theme }) => ({
- ...theme('colors'),
- auto: 'auto',
- }),
- animation: {
- none: 'none',
- spin: 'spin 1s linear infinite',
- ping: 'ping 1s cubic-bezier(0, 0, 0.2, 1) infinite',
- pulse: 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
- bounce: 'bounce 1s infinite',
+ extend: {
+ maxWidth: {
+ '7xl': '128rem', // Match spacing.7xl
+ },
},
- // ... (your provided theme configuration)
+ // Your existing theme configuration
spacing: {
xs: '32rem',
sm: '48rem',
512: '51.2rem',
640: '64rem',
},
- // ... (rest of your provided configuration)
+ // ... (rest of your provided theme configuration)
plugins: [
require('@tailwindcss/typography')({ modifiers: ['sm', 'lg'] }),
require('@tailwindcss/aspect-ratio'),