Apiarist Dev commited on
Commit
c11bda6
·
1 Parent(s): 8987cc2

ui: queen tile shows count (1/0) not YES; widen layout to 1600px

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -131,7 +131,7 @@ def build_dashboard(r: dict) -> str:
131
  <div class="stat-sub">{sub}</div>
132
  </div>"""
133
 
134
- queen_val = "YES" if queen else "-"
135
  queen_sub = f"{queen_conf}% confidence" if queen else "not found"
136
 
137
  return f"""
@@ -562,8 +562,10 @@ custom_css = """
562
  linear-gradient(180deg, #17110c 0%, #221913 55%, #2a1f15 100%) !important;
563
  color: #f4e4bc !important;
564
  font-family: 'JetBrains Mono', ui-monospace, 'Courier New', monospace !important;
565
- max-width: 1320px !important;
566
  margin: 0 auto !important;
 
 
567
  }
568
 
569
  /* ----- Hero header ----- */
 
131
  <div class="stat-sub">{sub}</div>
132
  </div>"""
133
 
134
+ queen_val = "1" if queen else "0"
135
  queen_sub = f"{queen_conf}% confidence" if queen else "not found"
136
 
137
  return f"""
 
562
  linear-gradient(180deg, #17110c 0%, #221913 55%, #2a1f15 100%) !important;
563
  color: #f4e4bc !important;
564
  font-family: 'JetBrains Mono', ui-monospace, 'Courier New', monospace !important;
565
+ max-width: 1600px !important;
566
  margin: 0 auto !important;
567
+ padding-left: 24px !important;
568
+ padding-right: 24px !important;
569
  }
570
 
571
  /* ----- Hero header ----- */