Update app.py
Browse files
app.py
CHANGED
@@ -626,6 +626,31 @@ code_interface = gr.Interface(
|
|
626 |
)
|
627 |
|
628 |
CSS_STYLES = """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
629 |
.gradio-container h1 {
|
630 |
text-align: center;
|
631 |
/* Ensure main title appears first, then our two subtitle lines */
|
|
|
626 |
)
|
627 |
|
628 |
CSS_STYLES = """
|
629 |
+
/* Force consistent full width across all tabs */
|
630 |
+
.gradio-container {
|
631 |
+
width: 100% !important;
|
632 |
+
max-width: none !important;
|
633 |
+
min-width: 100% !important;
|
634 |
+
}
|
635 |
+
|
636 |
+
/* Ensure all tab panels maintain full width */
|
637 |
+
.gradio-container [role="tabpanel"] {
|
638 |
+
width: 100% !important;
|
639 |
+
max-width: none !important;
|
640 |
+
}
|
641 |
+
|
642 |
+
/* Force all interfaces to use full width */
|
643 |
+
.gradio-container .gradio-interface {
|
644 |
+
width: 100% !important;
|
645 |
+
max-width: none !important;
|
646 |
+
}
|
647 |
+
|
648 |
+
/* Ensure form containers use full width */
|
649 |
+
.gradio-container .gradio-form {
|
650 |
+
width: 100% !important;
|
651 |
+
max-width: none !important;
|
652 |
+
}
|
653 |
+
|
654 |
.gradio-container h1 {
|
655 |
text-align: center;
|
656 |
/* Ensure main title appears first, then our two subtitle lines */
|