mehdilaalali commited on
Commit
f570a03
·
verified ·
1 Parent(s): 56515c2

fix: correct webkit text-fill inheritance causing blank badge

Browse files
Files changed (1) hide show
  1. app.py +10 -5
app.py CHANGED
@@ -232,15 +232,20 @@ body, .gradio-container {
232
  margin-top: 0;
233
  }
234
  .highlight-badge {
235
- background: linear-gradient(135deg, #f59e0b, #ef4444);
236
- color: white;
237
- padding: 2px 8px;
 
 
 
238
  border-radius: 8px;
239
- font-size: 0.8rem;
240
  font-weight: 800;
241
  vertical-align: top;
242
  margin-left: 10px;
243
- box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
 
 
244
  }
245
 
246
  /* Glass panel wrapper */
 
232
  margin-top: 0;
233
  }
234
  .highlight-badge {
235
+ background: linear-gradient(135deg, #f59e0b, #ef4444) !important;
236
+ -webkit-background-clip: border-box !important;
237
+ background-clip: border-box !important;
238
+ -webkit-text-fill-color: white !important;
239
+ color: white !important;
240
+ padding: 4px 10px;
241
  border-radius: 8px;
242
+ font-size: 0.9rem;
243
  font-weight: 800;
244
  vertical-align: top;
245
  margin-left: 10px;
246
+ box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
247
+ display: inline-block;
248
+ letter-spacing: 0.5px;
249
  }
250
 
251
  /* Glass panel wrapper */