Jahnavibh Claude commited on
Commit
f2e3e16
·
1 Parent(s): 8f2168d

Fix patchy background: Remove color inconsistency between elements

Browse files

Root cause found: Background color mismatch within the same app
- body/gradio-container: #fafafa
- .card/.card-content: white

This created visual inconsistency. Changed all elements to use consistent #fafafa background.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -477,7 +477,7 @@ with gr.Blocks(
477
  font-weight: 700 !important;
478
  }
479
  .card {
480
- background: white !important;
481
  border-radius: 12px !important;
482
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
483
  border: 1px solid #e5e7eb !important;
@@ -511,7 +511,7 @@ with gr.Blocks(
511
  padding: 1.5rem !important;
512
  color: #4b5563 !important;
513
  line-height: 1.6 !important;
514
- background: white !important;
515
  }
516
  .stats-grid {
517
  display: grid !important;
 
477
  font-weight: 700 !important;
478
  }
479
  .card {
480
+ background: #fafafa !important;
481
  border-radius: 12px !important;
482
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
483
  border: 1px solid #e5e7eb !important;
 
511
  padding: 1.5rem !important;
512
  color: #4b5563 !important;
513
  line-height: 1.6 !important;
514
+ background: #fafafa !important;
515
  }
516
  .stats-grid {
517
  display: grid !important;