need to fix bug with row width.

This commit is contained in:
Sj-Si 2024-04-09 17:26:56 -04:00
parent ec80d57e8b
commit fc7a8a41e5
8 changed files with 557 additions and 395 deletions

View file

@ -342,7 +342,7 @@ def setup_dialog(button_show, dialog, *, button_close=None):
fn=lambda: gr.update(visible=True),
inputs=[],
outputs=[dialog],
).then(fn=None, _js="function(){ popupId('" + dialog.elem_id + "'); }")
).then(fn=None, _js=f"function(){{popupId('{dialog.elem_id}');}}")
if button_close:
button_close.click(fn=None, _js="closePopup")