fixed modal scroll bug

This commit is contained in:
unknown committed 2020-11-25 09:28:33 +08:00
1 parent bf6cdc85a0
commit 72648860a0
1 file changed
+4 -5
+4 -5
View File
@@ -579,7 +579,7 @@
<div class="pl-4 pr-3 ml-2 mr-4 md:mr-1 flex bg-indigo-900">
<img class="flex" src="svg/icon_next.svg" alt="">
</div>
<div class="px-4 py-1 flex hidden md:py-3 md:block text-gray-500">
<div class="px-4 py-1 flex hidden md:py-3 sm:block text-gray-500">
<img class="flex" src="svg/icon_close.svg" alt=""
onclick="toggleSidebar('inquiry-modal');toggleOverlay('collapse-overlay')">
</div>
@@ -669,7 +669,6 @@
<aside class="overscroll-none overflow-x-hidden overflow-y-auto fixed inset-0 z-50 justify-center hidden" id="post-modal">
<div class="relative w-auto mt-11 mx-auto max-w-lg sm:mt-18 md:mt-50 lg:mt-16 lg:bg-white lg:w-full lg:max-w-lg lg:fixed lg:flex lg:justify-end lg:right-0 lg:top-0 lg:bottom-0 xxl:absolute xxl:inset-0 xxl:bg-transparent xxl:mt-36">
<!--location modal-->
<div class="relative">
<div class="z-10 absolute w-11/12 mx-4 lg:mx-6 my-5 pt-14 pb-10 px-5 h-auto bg-indigo-900 rounded-lg hidden"
id="example-collapse-location">
<a href="#"><img class="absolute top-0 right-0 m-3" src="svg/icon_close.svg" alt=""
@@ -682,12 +681,12 @@
onclick="toggleDropdown('example-collapse-dropdown11')">Select Location
</button>
</div>
<div class="z-10 origin-top absolute -mt-12 w-full py-3 px-3 bg-white rounded-lg hidden"
<div class="z-10 origin-top absolute -mt-12 w-full py-3 px-3 bg-white rounded-lg hidden shadow-lg"
id="example-collapse-dropdown11">
<input class="w-full h-12 px-3 text-md focus:outline-none border border-gray-800 rounded-lg"
type="text" placeholder="Type something here"
onclick="toggleDropdown('example-collapse-dropdown11')">
<div class="sm:h-64 md:h-56 lg:h-auto lg:overflow-auto shadow-md">
<div class="sm:h-64 md:h-56 lg:h-auto overflow-auto break-all">
<div class="px-3">
<a href="#"
class="block px-5 py-2 my-2 text-md leading-5 hover:bg-green-300 hover:text-white focus:outline-none focus:bg-gray-100 focus:text-gray-900">Incub8,
@@ -716,7 +715,7 @@
</button>
</div>
</div>
</div>
<!--end location modal-->
<!--content-->
<div class="border-0 rounded-lg relative flex flex-col w-full outline-none focus:outline-none">