Browse Source

refac: styling

Timothy J. Baek 7 months ago
parent
commit
5e70afc054

+ 5 - 7
src/lib/components/workspace/Knowledge/Collection.svelte

@@ -418,13 +418,11 @@
 									</div>
 
 									<div>
-										<Tooltip content="Save">
-											<button
-												class="self-center w-fit text-sm py-1 px-2.5 dark:text-gray-300 dark:hover:text-white hover:bg-black/5 dark:hover:bg-white/5 rounded-lg"
-											>
-												Save
-											</button>
-										</Tooltip>
+										<button
+											class="self-center w-fit text-sm py-1 px-2.5 dark:text-gray-300 dark:hover:text-white hover:bg-black/5 dark:hover:bg-white/5 rounded-lg"
+										>
+											{$i18n.t('Save')}
+										</button>
 									</div>
 								</div>
 

+ 2 - 2
src/lib/components/workspace/Knowledge/Collection/AddTextContentModal.svelte

@@ -56,7 +56,7 @@
 
 								<div class="w-full mt-1">
 									<input
-										class="w-full rounded-lg py-2 px-4 text-sm bg-gray-50 dark:text-gray-300 dark:bg-gray-850 outline-none"
+										class="w-full rounded-lg py-2 px-4 text-sm bg-white dark:text-gray-300 dark:bg-gray-850 outline-none"
 										type="text"
 										bind:value={name}
 										placeholder={`Name your content`}
@@ -70,7 +70,7 @@
 
 								<div class=" w-full mt-1">
 									<textarea
-										class="w-full resize-none rounded-lg py-2 px-4 text-sm bg-gray-50 dark:text-gray-300 dark:bg-gray-850 outline-none"
+										class="w-full resize-none rounded-lg py-2 px-4 text-sm bg-whites dark:text-gray-300 dark:bg-gray-850 outline-none"
 										rows="10"
 										bind:value={content}
 										placeholder={`Write your content here`}