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: overflowing modal fix on small screens (#3643)

Muhammed Ajmal Mc1bc430ee632
diff --git a/packages/hoppscotch-ui/src/components/smart/Modal.vue b/packages/hoppscotch-ui/src/components/smart/Modal.vue
index 722a2b7f4..41cf2f10e 100644
--- a/packages/hoppscotch-ui/src/components/smart/Modal.vue
+++ b/packages/hoppscotch-ui/src/components/smart/Modal.vue
@@ -54,7 +54,7 @@
</span>
</div>
<div
- class="max-h-lg flex flex-col overflow-y-auto"
+ class="flex flex-col overflow-y-auto max-h-[50vh]"
:class="{ 'p-4': !fullWidth }"
>
<slot name="body"></slot>