fix: system settings — show description as title, key as small monospace hint

This commit is contained in:
Alexey Pavlov
2026-06-15 10:39:03 +03:00
parent 33c11049f1
commit 68fb51fc0a
+4 -4
View File
@@ -290,16 +290,16 @@ function SettingRow({ row, onSaved }) {
<div className="flex items-start justify-between flex-wrap gap-2 mb-2">
<div className="min-w-0">
<div className="flex items-center gap-2">
<code className="text-sm font-mono">{row.key}</code>
<span className="text-sm font-medium text-gray-800 dark:text-gray-200">
{row.description || row.key}
</span>
{isSecret && (
<span className="text-[10px] uppercase tracking-wide px-1.5 py-0.5 rounded bg-amber-500/15 text-amber-500">
secret
</span>
)}
</div>
{row.description && (
<p className="text-xs text-gray-500 mt-1">{row.description}</p>
)}
<code className="text-[11px] text-gray-400 font-mono mt-0.5">{row.key}</code>
</div>
</div>
<div className="flex items-center gap-2">