Files changed (1) hide show
  1. style.css +34 -0
style.css ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ css = """
4
+ html, body, #root {
5
+ width: 100% !important;
6
+ height: 100% !important;
7
+ margin: 0 !important;
8
+ padding: 0 !important;
9
+ overflow-x: hidden !important;
10
+ overflow-y: auto !important;
11
+ }
12
+ * {
13
+ max-width: 100% !important;
14
+ box-sizing: border-box !important;
15
+ }
16
+ img, svg, canvas, iframe {
17
+ max-width: 100% !important;
18
+ height: auto !important;
19
+ }
20
+ @media (max-width: 768px) {
21
+ html {
22
+ font-size: 14px !important;
23
+ }
24
+ button, input, select, textarea {
25
+ font-size: 14px !important;
26
+ }
27
+ }
28
+ """
29
+
30
+ with gr.Blocks(css=css) as demo:
31
+ # Your UI here
32
+ pass
33
+
34
+ demo.launch()