Skip to content

Commit ea796e4

Browse files
committed
fix: Wrap CLI instruction code examples to the next line cleanly
This prevents the code examples from forcing the content outside of the browser’s viewport.
1 parent 629225f commit ea796e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/instance/applications/components/NewApplication/CLIInstructions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function CLIInstructions({
4444
</div>
4545
<div className="ml-8">
4646
<div className="bg-black rounded-lg p-4 flex items-center justify-between group">
47-
<code className="text-sm whitespace-pre truncate max-w-[calc(100vw-theme(spacing.48))]">{cliStep.code}</code>
47+
<code className="text-sm overflow-auto pl-8 -indent-8 wrap-anywhere">{cliStep.code}</code>
4848
<Button
4949
type="button"
5050
variant="default"

0 commit comments

Comments
 (0)