Browse Source

fix: modal styling

Timothy J. Baek 1 year ago
parent
commit
ab64931fd3

+ 1 - 1
src/lib/components/chat/SettingsModal.svelte

@@ -212,7 +212,7 @@
 </script>
 
 <Modal bind:show>
-	<div class="rounded-lg dark:bg-gray-900">
+	<div>
 		<div class=" flex justify-between dark:text-gray-300 px-5 py-4">
 			<div class=" text-lg font-medium self-center">Settings</div>
 			<button

+ 1 - 1
src/lib/components/common/Modal.svelte

@@ -28,7 +28,7 @@
 		}}
 	>
 		<div
-			class="m-auto min-h-52 max-w-full w-[36rem] mx-2 bg-gray-50 dark:bg-gray-900 rounded-3xl shadow-3xl"
+			class="m-auto min-h-52 rounded-xl max-w-full w-[40rem] mx-2 bg-gray-50 dark:bg-gray-900 shadow-3xl"
 			transition:fade={{ delay: 100, duration: 200 }}
 			on:click={(e) => {
 				e.stopPropagation();