Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

fix(common): increase modal dialog width for more screen sizes (#5884)

iDschepe5ae963990142
diff --git a/packages/hoppscotch-common/src/components/collections/Properties.vue b/packages/hoppscotch-common/src/components/collections/Properties.vue
index 18505c137..a11e10258 100644
--- a/packages/hoppscotch-common/src/components/collections/Properties.vue
+++ b/packages/hoppscotch-common/src/components/collections/Properties.vue
@@ -4,7 +4,7 @@
dialog
:title="t('collection.properties')"
:full-width-body="true"
- styles="sm:max-w-5xl"
+ styles="sm:max-w-5xl lg:max-w-6xl xl:max-w-7xl 2xl:max-w-[80vw]"
@close="hideModal"
>
<template #body>
diff --git a/packages/hoppscotch-common/src/components/collections/documentation/index.vue b/packages/hoppscotch-common/src/components/collections/documentation/index.vue
index c898d421d..d06b7d2c1 100644
--- a/packages/hoppscotch-common/src/components/collections/documentation/index.vue
+++ b/packages/hoppscotch-common/src/components/collections/documentation/index.vue
@@ -4,7 +4,7 @@
dialog
:title="t('documentation.title')"
:full-width-body="true"
- styles="sm:max-w-6xl"
+ styles="sm:max-w-6xl xl:max-w-7xl 2xl:max-w-[80vw]"
@close="hideModal"
>
<template #body>
diff --git a/packages/hoppscotch-common/src/components/environments/my/Details.vue b/packages/hoppscotch-common/src/components/environments/my/Details.vue
index 879bcf1b7..271c70b71 100644
--- a/packages/hoppscotch-common/src/components/environments/my/Details.vue
+++ b/packages/hoppscotch-common/src/components/environments/my/Details.vue
@@ -3,7 +3,7 @@
v-if="show"
dialog
:title="t(`environment.${action}`)"
- styles="sm:max-w-5xl"
+ styles="sm:max-w-5xl lg:max-w-6xl xl:max-w-7xl 2xl:max-w-[80vw]"
@close="hideModal"
>
<template #body>
diff --git a/packages/hoppscotch-common/src/components/environments/teams/Details.vue b/packages/hoppscotch-common/src/components/environments/teams/Details.vue
index 8ae12c10e..e146f0b34 100644
--- a/packages/hoppscotch-common/src/components/environments/teams/Details.vue
+++ b/packages/hoppscotch-common/src/components/environments/teams/Details.vue
@@ -3,7 +3,7 @@
v-if="show"
dialog
:title="t(`environment.${action}`)"
- styles="sm:max-w-5xl"
+ styles="sm:max-w-5xl lg:max-w-6xl xl:max-w-7xl 2xl:max-w-[80vw]"
@close="hideModal"
>
<template #body>