Spaces:
Running on Zero
Running on Zero
rosa commited on
Create style.css
Browse files12345678910111213141516171819202122232425262728293031323334import gradio as gr
css = """html, body, #root { width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important; overflow-x: hidden !important; overflow-y: auto !important;}* { max-width: 100% !important; box-sizing: border-box !important;}img, svg, canvas, iframe { max-width: 100% !important; height: auto !important;}@media (max-width: 768px) { html { font-size: 14px !important; } button, input, select, textarea { font-size: 14px !important; }}"""
with gr.Blocks(css=css) as demo: # Your UI here pass
demo.launch()style.cssAdded+34