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

This commit is contained in:
Carlos Monastyrski
2025-07-18 10:46:21 -03:00
parent 0080d5f291
commit 4ab8d680c4
@@ -517,7 +517,7 @@ export const SecretVersionDiffView = ({
} }
oldVersionContent = ( oldVersionContent = (
<div className="w-fit font-mono text-sm"> <div className="w-fit min-w-[100%] font-mono text-sm">
{renderJsonWithDiffs( {renderJsonWithDiffs(
cleanOldVersion, cleanOldVersion,
diffPaths, diffPaths,
@@ -533,7 +533,7 @@ export const SecretVersionDiffView = ({
</div> </div>
); );
newVersionContent = ( newVersionContent = (
<div className="w-fit font-mono text-sm"> <div className="w-fit min-w-[100%] font-mono text-sm">
{renderJsonWithDiffs( {renderJsonWithDiffs(
cleanNewVersion, cleanNewVersion,
diffPaths, diffPaths,