diff --git a/src/frontend/src/index.css b/src/frontend/src/index.css index ffba3b082..15556b27c 100644 --- a/src/frontend/src/index.css +++ b/src/frontend/src/index.css @@ -904,7 +904,7 @@ The cursor: default; property value restores the browser's default cursor style } .api-modal-tabs { - @apply w-full h-full overflow-hidden text-center bg-muted rounded-md border + @apply lg:w-full h-full overflow-hidden text-center bg-muted rounded-md border sm:w-[75vw] } .api-modal-tablist-div { @apply flex items-center justify-between px-2 diff --git a/src/frontend/src/modals/ApiModal/index.tsx b/src/frontend/src/modals/ApiModal/index.tsx index 262d62d3e..fc85a6fb4 100644 --- a/src/frontend/src/modals/ApiModal/index.tsx +++ b/src/frontend/src/modals/ApiModal/index.tsx @@ -128,8 +128,6 @@ const ApiModal = forwardRef( tweak.current = []; const t = buildTweaks(flow); tweak.current.push(t); - - } filterNodes();