fix: stop true and false breaking across lines in the effective policy table

This commit is contained in:
Linus Rath
2026-11-03 05:48:08 +01:00
parent 3ce7482f1c
commit 269e83690b
+1 -1
View File
@@ -195,7 +195,7 @@ function EffectivePolicy({ draft }: { draft: OrgPolicyDraft }) {
{rows.map(([path, source]) => (
<tr key={path} className="border-t border-border">
<td className="px-3 py-1.5 font-mono text-xs break-all">{path}</td>
<td className="px-3 py-1.5 font-mono text-xs break-all">{formatValue(valueAt(resolved.policy as unknown as Record<string, unknown>, path))}</td>
<td className="px-3 py-1.5 font-mono text-xs break-all"><div className="min-w-[5ch]">{formatValue(valueAt(resolved.policy as unknown as Record<string, unknown>, path))}</div></td>
<td className="px-3 py-1.5 text-xs">{sourceLabel(source, draft.scopes)}</td>
</tr>
))}