From 6df31ca64b6f9c671b81ee2f0e91ec613fb1adf8 Mon Sep 17 00:00:00 2001 From: GeorgLegato Date: Wed, 19 Apr 2023 19:04:13 +0200 Subject: [PATCH] infinit-zoom tab name changed to infintite-zoom --- scripts/panorama-3dviewer.py | 2 +- style.css | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/panorama-3dviewer.py b/scripts/panorama-3dviewer.py index ae3dcc5..17c44ea 100644 --- a/scripts/panorama-3dviewer.py +++ b/scripts/panorama-3dviewer.py @@ -57,7 +57,7 @@ def after_component(component, **kwargs): if (not component.parent.elem_id): return - if (component.parent.elem_id == "image_buttons_infinit-zoom"): + if (component.parent.elem_id == "image_buttons_infinite-zoom"): #send2tab_panomov_button = gr.Button ("Pano \U0001F3A6", elem_id=f"sendto_panoramatab_button") # 🎦 #send2tab_panomov_button.click(None, [], None, _js="() => panorama_send_infinitezoom('TAB')") #send2tab_panomov_button.__setattr__("class","gr-button") diff --git a/style.css b/style.css index 1856881..4b067a0 100644 --- a/style.css +++ b/style.css @@ -49,7 +49,7 @@ body { } div:has(>video) { - width: 512px; + /* width: 512px; */ height: 512px; } @@ -58,3 +58,7 @@ div:has(>video) { height:100% !important; flex-direction: row; } + +#tab_iz_interface .controls { + width: 95%; +}