浏览代码

fix: modal styling

Timothy J. Baek 1 年之前
父节点
当前提交
ab64931fd3
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/lib/components/chat/SettingsModal.svelte
  2. 1 1
      src/lib/components/common/Modal.svelte

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

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

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

@@ -28,7 +28,7 @@
 		}}
 		}}
 	>
 	>
 		<div
 		<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 }}
 			transition:fade={{ delay: 100, duration: 200 }}
 			on:click={(e) => {
 			on:click={(e) => {
 				e.stopPropagation();
 				e.stopPropagation();