From f8de3a5265fbd2960ffcda7ba359f593b53448f8 Mon Sep 17 00:00:00 2001 From: Cristhian Zanforlin Lousa Date: Fri, 14 Jul 2023 21:58:13 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20fix(index.css):=20adjust=20width?= =?UTF-8?q?=20of=20.api-modal-tabs=20to=20be=2075vw=20on=20small=20screens?= =?UTF-8?q?=20to=20improve=20responsiveness=20=F0=9F=94=A7=20fix(ApiModal/?= =?UTF-8?q?index.tsx):=20remove=20unnecessary=20whitespace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/src/index.css | 2 +- src/frontend/src/modals/ApiModal/index.tsx | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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();