瀏覽代碼

refac: styling

Timothy J. Baek 10 月之前
父節點
當前提交
f8e2b31756
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/app.html
  2. 1 1
      src/lib/components/chat/ChatControls.svelte

+ 1 - 1
src/app.html

@@ -84,7 +84,7 @@
 					position: absolute;
 					position: absolute;
 					width: auto;
 					width: auto;
 					height: 6rem;
 					height: 6rem;
-					top: 41%;
+					top: 44%;
 					left: 50%;
 					left: 50%;
 					margin-left: -3rem;
 					margin-left: -3rem;
 				"
 				"

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

@@ -37,7 +37,7 @@
 		<div class=" absolute bottom-0 right-0 z-20 h-full pointer-events-none">
 		<div class=" absolute bottom-0 right-0 z-20 h-full pointer-events-none">
 			<div class="pr-4 pt-14 pb-8 w-[24rem] h-full" in:slide={{ duration: 200, axis: 'x' }}>
 			<div class="pr-4 pt-14 pb-8 w-[24rem] h-full" in:slide={{ duration: 200, axis: 'x' }}>
 				<div
 				<div
-					class="w-full h-full px-5 py-4 dark:shadow-lg dark:bg-gray-850 border border-gray-50 dark:border-gray-800 rounded-xl z-50 pointer-events-auto overflow-y-auto scrollbar-hidden"
+					class="w-full h-full px-5 py-4 bg-white dark:shadow-lg dark:bg-gray-850 border border-gray-50 dark:border-gray-800 rounded-xl z-50 pointer-events-auto overflow-y-auto scrollbar-hidden"
 				>
 				>
 					<Controls
 					<Controls
 						on:close={() => {
 						on:close={() => {