datasaur-dev commited on
Commit
6039386
·
verified ·
1 Parent(s): c7aecc3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -126,7 +126,18 @@ def handle_magic_click(current_text, current_button_text):
126
 
127
  with gr.Blocks(
128
  theme=gr.themes.Default(primary_hue="blue", secondary_hue="sky"),
129
- css=".success-text { background-color: #d4edda !important; } .centered { justify-content: center;}"
 
 
 
 
 
 
 
 
 
 
 
130
  ) as demo:
131
  gr.Markdown("# Time Entry Improvement")
132
  with gr.Row():
 
126
 
127
  with gr.Blocks(
128
  theme=gr.themes.Default(primary_hue="blue", secondary_hue="sky"),
129
+ css="""
130
+ .success-text { background-color: #d4edda !important; }
131
+ .centered {
132
+ justify-content: center !important;
133
+ align-items: center !important;
134
+ text-align: center !important;
135
+ }
136
+ .gradio-container {
137
+ max-width: 500px !important;
138
+ margin: 0 auto !important;
139
+ }
140
+ """
141
  ) as demo:
142
  gr.Markdown("# Time Entry Improvement")
143
  with gr.Row():