Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Adjust commit diff field highlights to use container width as minimum width

Carlos Monastyrski4ab8d680c473
diff --git a/frontend/src/pages/secret-manager/CommitDetailsPage/components/SecretVersionDiffView/SecretVersionDiffView.tsx b/frontend/src/pages/secret-manager/CommitDetailsPage/components/SecretVersionDiffView/SecretVersionDiffView.tsx
index d444cc643a..a1d058ea30 100644
--- a/frontend/src/pages/secret-manager/CommitDetailsPage/components/SecretVersionDiffView/SecretVersionDiffView.tsx
+++ b/frontend/src/pages/secret-manager/CommitDetailsPage/components/SecretVersionDiffView/SecretVersionDiffView.tsx
@@ -517,7 +517,7 @@ export const SecretVersionDiffView = ({
}
oldVersionContent = (
- <div className="w-fit font-mono text-sm">
+ <div className="w-fit min-w-[100%] font-mono text-sm">
{renderJsonWithDiffs(
cleanOldVersion,
diffPaths,
@@ -533,7 +533,7 @@ export const SecretVersionDiffView = ({
</div>
);
newVersionContent = (
- <div className="w-fit font-mono text-sm">
+ <div className="w-fit min-w-[100%] font-mono text-sm">
{renderJsonWithDiffs(
cleanNewVersion,
diffPaths,