From d938af0c2c6922befd1109a49201effe1420f8ff Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Mon, 20 Sep 2021 14:18:40 +0530 Subject: [PATCH] fix: better responsiveness on horizontal layout --- .../hoppscotch-app/components/http/Request.vue | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/packages/hoppscotch-app/components/http/Request.vue b/packages/hoppscotch-app/components/http/Request.vue index d4fea1d92..f4b3b14cc 100644 --- a/packages/hoppscotch-app/components/http/Request.vue +++ b/packages/hoppscotch-app/components/http/Request.vue @@ -36,7 +36,7 @@ text-secondaryDark py-2 px-4 - w-28 + w-26 hover:border-dividerDark focus-visible:bg-transparent focus-visible:border-dividerDark @@ -109,7 +109,7 @@
@@ -158,8 +158,12 @@ { const requestName = useRESTRequestName() const EXPERIMENTAL_URL_BAR_ENABLED = useSetting("EXPERIMENTAL_URL_BAR_ENABLED") + +const windowInnerWidth = useWindowSize() +const COLUMN_LAYOUT = useSetting("COLUMN_LAYOUT")