mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 00:27:30 +00:00
Adjust commit diff field highlights to use container width as minimum width
This commit is contained in:
+2
-2
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user