waroca commited on
Commit
dcf3414
·
verified ·
1 Parent(s): c918ce6

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +11 -2
app.py CHANGED
@@ -55,8 +55,16 @@ def main():
55
  margin: 0 0 1rem 0 !important;
56
  font-weight: 400 !important;
57
  text-align: center !important;
 
 
 
58
  width: 100% !important;
59
- display: block !important;
 
 
 
 
 
60
  }
61
 
62
  /* Dataset card styling */
@@ -202,7 +210,8 @@ def main():
202
  height=120,
203
  elem_classes="hero-logo"
204
  )
205
- gr.HTML('<div style="width:100%;text-align:center;"><p class="hero-subtitle">Your pass to private data.</p></div>')
 
206
 
207
  # Simple auth row with Gradio 6 LoginButton
208
  with gr.Row():
 
55
  margin: 0 0 1rem 0 !important;
56
  font-weight: 400 !important;
57
  text-align: center !important;
58
+ }
59
+ /* Force center the subtitle container */
60
+ .hero-subtitle-wrapper {
61
  width: 100% !important;
62
+ display: flex !important;
63
+ justify-content: center !important;
64
+ }
65
+ .hero-subtitle-wrapper + div,
66
+ .hero-subtitle-wrapper ~ div {
67
+ width: 100%;
68
  }
69
 
70
  /* Dataset card styling */
 
210
  height=120,
211
  elem_classes="hero-logo"
212
  )
213
+ with gr.Row(elem_classes="hero-subtitle-wrapper"):
214
+ gr.HTML('<p class="hero-subtitle">Your pass to private data.</p>')
215
 
216
  # Simple auth row with Gradio 6 LoginButton
217
  with gr.Row():