Spaces:
Running
on
Zero
Running
on
Zero
Update CSS for mobile
Browse files
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 {
|
95 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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:
|