mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-11-04 16:14:07 +00:00
fix: stop true and false breaking across lines in the effective policy table
This commit is contained in:
@@ -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>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user