Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,6 +62,30 @@ css = """
|
|
| 62 |
margin-left: auto;
|
| 63 |
margin-right: auto;
|
| 64 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
"""
|
| 66 |
|
| 67 |
with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
|
|
|
|
| 62 |
margin-left: auto;
|
| 63 |
margin-right: auto;
|
| 64 |
}
|
| 65 |
+
|
| 66 |
+
/* Hide scrollbar for WebKit browsers (Chrome, Safari) */
|
| 67 |
+
#app-container::-webkit-scrollbar {
|
| 68 |
+
display: none;
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
/* Hide scrollbar for Firefox */
|
| 72 |
+
#app-container {
|
| 73 |
+
scrollbar-width: none; /* For Firefox */
|
| 74 |
+
-ms-overflow-style: none; /* For Internet Explorer and Edge */
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
/* Ensure content is scrollable but scrollbar is hidden */
|
| 78 |
+
#app-container {
|
| 79 |
+
overflow: -moz-scrollbars-none;
|
| 80 |
+
-ms-overflow-style: none;
|
| 81 |
+
overflow: scroll;
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
+
/* Hide the 'built with' message */
|
| 85 |
+
.built-with.svelte-1rjryqp.svelte-1rjryqp.svelte-1rjryqp {
|
| 86 |
+
display: none !important;
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
"""
|
| 90 |
|
| 91 |
with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
|