DarianT commited on
Commit
dae934a
·
1 Parent(s): 41ba023

Update CSS for mobile

Browse files
Files changed (1) hide show
  1. app.py +11 -2
app.py CHANGED
@@ -91,8 +91,17 @@ If you find ID-Booth helpful, please consider citing our paper:
91
  """
92
 
93
  css = '''
94
- .gradio-container {width: 60%;
95
- margin: auto;}
 
 
 
 
 
 
 
 
 
96
  '''
97
 
98
  with gr.Blocks(css=css) as demo:
 
91
  """
92
 
93
  css = '''
94
+ .gradio-container {
95
+ width: 60%;
96
+ margin: auto;
97
+ }
98
+
99
+ /* For smaller screens */
100
+ @media (max-width: 768px) {
101
+ .gradio-container {
102
+ width: 85%;
103
+ }
104
+ }
105
  '''
106
 
107
  with gr.Blocks(css=css) as demo: