Limit width
Browse files- src/display/css_html_js.py +11 -0
src/display/css_html_js.py
CHANGED
|
@@ -13,6 +13,17 @@ function tableLinkHack() {
|
|
| 13 |
|
| 14 |
custom_css = """
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
.intro-text {
|
| 17 |
text-align: center; /* Center the text */
|
| 18 |
font-size: 3rem; /* Slightly larger font size if desired */
|
|
|
|
| 13 |
|
| 14 |
custom_css = """
|
| 15 |
|
| 16 |
+
#main {
|
| 17 |
+
max-width: 1200px;
|
| 18 |
+
margin: 0 auto;
|
| 19 |
+
padding: 0 20px;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
.gradio-container {
|
| 23 |
+
max-width: 1200px !important;
|
| 24 |
+
margin: 0 auto !important;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
.intro-text {
|
| 28 |
text-align: center; /* Center the text */
|
| 29 |
font-size: 3rem; /* Slightly larger font size if desired */
|