Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ BUSINESS WORKFLOW
|
|
111 |
]
|
112 |
}
|
113 |
|
114 |
-
# CSS style: fixed container width and preventing examples from expanding the layout
|
115 |
css = """
|
116 |
* {
|
117 |
box-sizing: border-box;
|
@@ -130,12 +130,16 @@ body {
|
|
130 |
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
|
131 |
margin: 40px auto;
|
132 |
width: 1200px;
|
|
|
133 |
}
|
134 |
.sidebar {
|
135 |
background: rgba(255, 255, 255, 0.98);
|
136 |
border-radius: 10px;
|
137 |
padding: 20px;
|
138 |
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
|
|
|
|
|
|
139 |
}
|
140 |
button, .btn {
|
141 |
background: linear-gradient(90deg, #ff8a00, #e52e71);
|
|
|
111 |
]
|
112 |
}
|
113 |
|
114 |
+
# CSS style: fixed container width, visible overflow, and preventing examples from expanding the layout
|
115 |
css = """
|
116 |
* {
|
117 |
box-sizing: border-box;
|
|
|
130 |
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
|
131 |
margin: 40px auto;
|
132 |
width: 1200px;
|
133 |
+
overflow: visible !important; /* ensure sidebar isn't clipped */
|
134 |
}
|
135 |
.sidebar {
|
136 |
background: rgba(255, 255, 255, 0.98);
|
137 |
border-radius: 10px;
|
138 |
padding: 20px;
|
139 |
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
140 |
+
position: relative;
|
141 |
+
z-index: 10; /* bring sidebar above container edges */
|
142 |
+
overflow: visible !important;
|
143 |
}
|
144 |
button, .btn {
|
145 |
background: linear-gradient(90deg, #ff8a00, #e52e71);
|