modify ui

This commit is contained in:
Julian Freeman
2026-02-22 17:52:51 -04:00
parent bac7428fde
commit 1e378b20e0
2 changed files with 7 additions and 4 deletions

View File

@@ -348,7 +348,7 @@ const translate = async () => {
<input
v-model="settings.ollamaApiAddress"
type="text"
class="w-full px-4 py-2 border rounded-lg focus:ring-2 focus:ring-blue-500/20 focus:border-blue-500 outline-none transition-all"
class="w-full px-4 py-2 border rounded-lg focus:ring-2 focus:ring-blue-500/20 focus:border-blue-500 outline-none transition-all font-mono"
placeholder="http://localhost:11434"
/>
</div>
@@ -414,7 +414,7 @@ const translate = async () => {
class="text-xs text-red-600 hover:underline flex items-center gap-1"
>
<Trash2 class="w-3 h-3" />
清空全部日志
清空
</button>
</div>
<div class="bg-white rounded-xl shadow-sm border p-4 space-y-4">
@@ -430,7 +430,7 @@ const translate = async () => {
<span class="text-slate-400">[{{ log.timestamp }}]</span>
<span
:class="cn(
'px-2 py-0.5 rounded uppercase font-bold text-[9px]',
'px-2 py-0.5 rounded uppercase font-bold text-[11px]',
log.type === 'request' ? 'bg-blue-100 text-blue-700' :
log.type === 'response' ? 'bg-green-100 text-green-700' :
'bg-red-100 text-red-700'