浏览代码

refac: styling

Timothy J. Baek 11 月之前
父节点
当前提交
50951459c9

+ 3 - 3
src/routes/(app)/workspace/models/create/+page.svelte

@@ -316,9 +316,9 @@
 					bind:value={info.base_model_id}
 					bind:value={info.base_model_id}
 					required
 					required
 				>
 				>
-					<option value={null} class=" text-gray-500">{$i18n.t('Select a base model')}</option>
-					{#each $models.filter((m) => !m?.preset) as model}
-						<option value={model.id} class="text-gray-500">{model.name}</option>
+					<option value={null} class=" text-gray-900">{$i18n.t('Select a base model')}</option>
+					{#each $models.filter((m) => m.id !== model.id && !m?.preset) as model}
+						<option value={model.id} class=" text-gray-900">{model.name}</option>
 					{/each}
 					{/each}
 				</select>
 				</select>
 			</div>
 			</div>

+ 2 - 2
src/routes/(app)/workspace/models/edit/+page.svelte

@@ -291,9 +291,9 @@
 							bind:value={info.base_model_id}
 							bind:value={info.base_model_id}
 							required
 							required
 						>
 						>
-							<option value={null} class=" text-gray-500">{$i18n.t('Select a base model')}</option>
+							<option value={null} class=" text-gray-900">{$i18n.t('Select a base model')}</option>
 							{#each $models.filter((m) => m.id !== model.id && !m?.preset) as model}
 							{#each $models.filter((m) => m.id !== model.id && !m?.preset) as model}
-								<option value={model.id} class=" text-gray-500">{model.name}</option>
+								<option value={model.id} class=" text-gray-900">{model.name}</option>
 							{/each}
 							{/each}
 						</select>
 						</select>
 					</div>
 					</div>