Spaces:
Paused
Paused
Update app.py via AI Editor
Browse files
app.py
CHANGED
@@ -139,7 +139,6 @@ def make_shred_controls():
|
|
139 |
|
140 |
def make_tab(tab_id, label):
|
141 |
if tab_id == "shred":
|
142 |
-
# Controls right after text area, then upload, then preview, then output
|
143 |
return dbc.Card(
|
144 |
dbc.CardBody([
|
145 |
make_textarea(tab_id, f"Instructions for {label} (optional)"),
|
@@ -188,11 +187,11 @@ app.layout = dbc.Container([
|
|
188 |
dbc.CardBody([
|
189 |
html.Div(nav_items, className="nav flex-column"),
|
190 |
])
|
191 |
-
), width=
|
192 |
),
|
193 |
dbc.Col(
|
194 |
html.Div(all_tabs_div(), id="main-content"),
|
195 |
-
width=
|
196 |
)
|
197 |
])
|
198 |
], fluid=True)
|
|
|
139 |
|
140 |
def make_tab(tab_id, label):
|
141 |
if tab_id == "shred":
|
|
|
142 |
return dbc.Card(
|
143 |
dbc.CardBody([
|
144 |
make_textarea(tab_id, f"Instructions for {label} (optional)"),
|
|
|
187 |
dbc.CardBody([
|
188 |
html.Div(nav_items, className="nav flex-column"),
|
189 |
])
|
190 |
+
), width=2, style={'minWidth': '150px'}
|
191 |
),
|
192 |
dbc.Col(
|
193 |
html.Div(all_tabs_div(), id="main-content"),
|
194 |
+
width=10
|
195 |
)
|
196 |
])
|
197 |
], fluid=True)
|