Spaces:
Sleeping
Sleeping
Apply research-based fix: Use SR's exact margin pattern
Browse filesResearch findings:
- SR uses margin-left/right: auto (54 \!important declarations)
- Our demos used margin: 0 auto (97-119 \!important declarations)
- Issue: CSS conflicts between heavy custom styling and Gradio's layout system
Solution: Match SR's proven margin pattern exactly to avoid layout conflicts.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
app.py
CHANGED
|
@@ -144,7 +144,8 @@ with gr.Blocks(
|
|
| 144 |
}
|
| 145 |
.gradio-container {
|
| 146 |
max-width: 1200px !important;
|
| 147 |
-
margin:
|
|
|
|
| 148 |
background-color: #fafafa !important;
|
| 149 |
font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif !important;
|
| 150 |
}
|
|
|
|
| 144 |
}
|
| 145 |
.gradio-container {
|
| 146 |
max-width: 1200px !important;
|
| 147 |
+
margin-left: auto !important;
|
| 148 |
+
margin-right: auto !important;
|
| 149 |
background-color: #fafafa !important;
|
| 150 |
font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif !important;
|
| 151 |
}
|