unijoh commited on
Commit
725d076
·
verified ·
1 Parent(s): 21b5602

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -2
app.py CHANGED
@@ -168,9 +168,23 @@ a{ color:var(--primary-700)!important; }
168
  color:#0b1b19!important;
169
  }
170
  /* Hover = subtle */
171
- .lang_toggle label:hover span{
 
172
  background:var(--primary-200)!important;
173
- }"""
 
 
 
 
 
 
 
 
 
 
 
 
 
174
 
175
  # ----------------------------
176
  # Tokenization
 
168
  color:#0b1b19!important;
169
  }
170
  /* Hover = subtle */
171
+ /* Keep selected button color on hover; only lighten UNSELECTED on hover */
172
+ .lang_toggle label:hover input:not(:checked) + span{
173
  background:var(--primary-200)!important;
174
+ }
175
+
176
+ /* Push language buttons fully to the right */
177
+ #results_hdr{
178
+ width:100% !important;
179
+ }
180
+ #results_hdr > .gr-markdown{
181
+ flex:1 1 auto !important;
182
+ }
183
+ .lang_toggle{
184
+ margin-left:auto !important;
185
+ justify-content:flex-end !important;
186
+ }
187
+ """
188
 
189
  # ----------------------------
190
  # Tokenization