nagasurendra commited on
Commit
13a3c80
·
verified ·
1 Parent(s): 3284d20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -286,7 +286,14 @@ button {
286
  </script>
287
  """
288
  def app():
289
- with gr.Blocks(css=".gradio-column { position: absolute; top: 0; width: 100%; }") as demo:
 
 
 
 
 
 
 
290
  # Login Page
291
  with gr.Column(visible=True) as login_section:
292
  gr.Markdown("# Login Page")
 
286
  </script>
287
  """
288
  def app():
289
+ with gr.Blocks(css="""
290
+ .gradio-column {
291
+ min-height: 100vh; /* Ensure each section takes up at least the full viewport height */
292
+ display: flex;
293
+ flex-direction: column;
294
+ justify-content: flex-start; /* Align content to the top */
295
+ }
296
+ """) as demo:
297
  # Login Page
298
  with gr.Column(visible=True) as login_section:
299
  gr.Markdown("# Login Page")