Update app.py
Browse files
app.py
CHANGED
|
@@ -79,7 +79,11 @@ DEFAULT_QUESTION = "In MCP's 1st Birthday Hackathon, hosted by Anthropic and Gra
|
|
| 79 |
|
| 80 |
CSS_FULL_WIDTH = """
|
| 81 |
html,
|
| 82 |
-
body
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
margin: 0 !important;
|
| 84 |
padding: 0 !important;
|
| 85 |
width: 100% !important;
|
|
@@ -87,7 +91,10 @@ body {
|
|
| 87 |
overflow-x: hidden !important;
|
| 88 |
}
|
| 89 |
|
| 90 |
-
.full-width-app
|
|
|
|
|
|
|
|
|
|
| 91 |
width: 100% !important;
|
| 92 |
max-width: 100% !important;
|
| 93 |
margin-left: 0 !important;
|
|
@@ -97,7 +104,7 @@ body {
|
|
| 97 |
}
|
| 98 |
|
| 99 |
.content-padding {
|
| 100 |
-
padding: 0 1.5rem;
|
| 101 |
}
|
| 102 |
"""
|
| 103 |
|
|
|
|
| 79 |
|
| 80 |
CSS_FULL_WIDTH = """
|
| 81 |
html,
|
| 82 |
+
body,
|
| 83 |
+
#root,
|
| 84 |
+
#root > div,
|
| 85 |
+
main,
|
| 86 |
+
.gradio-app {
|
| 87 |
margin: 0 !important;
|
| 88 |
padding: 0 !important;
|
| 89 |
width: 100% !important;
|
|
|
|
| 91 |
overflow-x: hidden !important;
|
| 92 |
}
|
| 93 |
|
| 94 |
+
.full-width-app,
|
| 95 |
+
.full-width-app .gradio-app,
|
| 96 |
+
.full-width-app .gradio-container,
|
| 97 |
+
.full-width-app .gradio-block {
|
| 98 |
width: 100% !important;
|
| 99 |
max-width: 100% !important;
|
| 100 |
margin-left: 0 !important;
|
|
|
|
| 104 |
}
|
| 105 |
|
| 106 |
.content-padding {
|
| 107 |
+
padding: 0 1.5rem 0;
|
| 108 |
}
|
| 109 |
"""
|
| 110 |
|