@@ -83,8 +83,8 @@ <h1 id="header-title" class="text-base font-bold text-gray-900">WhatsApp Manager
8383
8484<!-- Config Modal -->
8585< div id ="config-modal " class ="fixed inset-0 z-[100] items-center justify-center bg-black/40 backdrop-blur-sm ">
86- < div class ="bg-white rounded-2xl shadow-2xl w-full max-w-md mx-4 overflow-hidden ">
87- < div class ="px-6 py-5 border-b border-gray-100 flex items-center justify-between ">
86+ < div class ="bg-white rounded-2xl shadow-2xl w-full max-w-md mx-4 overflow-hidden flex flex-col max-h-[90vh] ">
87+ < div class ="px-6 py-5 border-b border-gray-100 flex items-center justify-between shrink-0 ">
8888 < div >
8989 < h2 class ="text-base font-bold text-gray-900 "> Connection Settings</ h2 >
9090 < p class ="text-xs text-gray-500 mt-0.5 "> Saved locally in your browser</ p >
@@ -93,7 +93,7 @@ <h2 class="text-base font-bold text-gray-900">Connection Settings</h2>
9393 < svg class ="w-5 h-5 " fill ="none " stroke ="currentColor " viewBox ="0 0 24 24 "> < path stroke-linecap ="round " stroke-linejoin ="round " stroke-width ="2 " d ="M6 18L18 6M6 6l12 12 "/> </ svg >
9494 </ button >
9595 </ div >
96- < div class ="px-6 py-5 space-y-4 ">
96+ < div class ="px-6 py-5 space-y-4 overflow-y-auto flex-1 ">
9797 < div id ="cfg-server-notice " class ="hidden bg-blue-50 border border-blue-200 text-blue-700 text-xs rounded-lg px-3 py-2 ">
9898 ⚙ Server configuration loaded from < code > config.json</ code > — those values take priority over local settings.
9999 </ div >
@@ -155,7 +155,7 @@ <h2 class="text-base font-bold text-gray-900">Connection Settings</h2>
155155 </ div >
156156 < div id ="cfg-status " class ="hidden text-xs rounded-lg px-3 py-2 "> </ div >
157157 </ div >
158- < div class ="px-6 pb-5 flex gap-3 ">
158+ < div class ="px-6 pb-5 flex gap-3 shrink-0 ">
159159 < button onclick ="saveConfig() " class ="btn-send flex-1 text-white font-semibold py-2.5 rounded-lg text-sm flex items-center justify-center gap-2 ">
160160 < svg class ="w-4 h-4 " fill ="none " stroke ="currentColor " viewBox ="0 0 24 24 "> < path stroke-linecap ="round " stroke-linejoin ="round " stroke-width ="2 " d ="M5 13l4 4L19 7 "/> </ svg >
161161 Save & Apply
0 commit comments