|
39 | 39 | ], style={'textAlign': 'center', 'padding': '10px', 'backgroundColor': '#f8f9fa', 'borderBottom': '1px solid #ddd'}), |
40 | 40 |
|
41 | 41 | html.Div(id='ai-analysis-status', style={'padding': '10px', 'textAlign': 'center'}), |
42 | | - html.Div(id='ai-log-output', style={'margin': '10px', 'padding': '10px', 'backgroundColor': '#eef2f5', 'borderRadius': '5px', 'maxHeight': '150px', 'overflowY': 'auto', 'fontFamily': 'monospace', 'fontSize': '12px', 'display': 'none'}), |
| 42 | + html.Div(id='ai-log-output-wrapper', style={'margin': '10px', 'padding': '10px', 'backgroundColor': '#eef2f5', 'borderRadius': '5px', 'maxHeight': '150px', 'overflowY': 'auto', 'fontFamily': 'monospace', 'fontSize': '12px', 'display': 'none'}, children=[ |
| 43 | + html.Div(id='ai-log-output') |
| 44 | + ]), |
43 | 45 |
|
44 | 46 | dcc.Interval(id='log-interval', interval=2000, n_intervals=0, disabled=True), |
45 | 47 |
|
@@ -235,7 +237,7 @@ def get_data(entry_id): |
235 | 237 | # ========================================================= |
236 | 238 |
|
237 | 239 | @app.callback( |
238 | | - [Output('ai-analysis-status', 'children'), Output('log-interval', 'disabled'), Output('ai-log-output', 'style')], |
| 240 | + [Output('ai-analysis-status', 'children'), Output('log-interval', 'disabled'), Output('ai-log-output-wrapper', 'style')], |
239 | 241 | [Input('run-ai-btn', 'n_clicks')], |
240 | 242 | [State('entry-id', 'data')] |
241 | 243 | ) |
|
0 commit comments