Skip to content

Commit b1f1f05

Browse files
committed
Reduce output size on small screens
1 parent 8dcfff2 commit b1f1f05

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/home/HeroCodeEditor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export default function HeroCodeEditor({
144144
</p>
145145
<div className="flex max-h-80 w-full flex-col gap-2 overflow-auto">
146146
{example.precanned.stdout && (
147-
<pre className="whitespace-pre-wrap break-words font-mono text-body font-normal leading-[26px] text-gray-20">
147+
<pre className="whitespace-pre-wrap break-words font-mono text-small font-normal text-gray-20 md:text-body">
148148
{example.precanned.stdout}
149149
</pre>
150150
)}
@@ -156,7 +156,7 @@ export default function HeroCodeEditor({
156156
>
157157
<ArrowIcon direction="right" />
158158
</span>
159-
<pre className="min-w-0 flex-1 whitespace-pre-wrap break-words font-mono text-lead font-normal leading-[normal] text-purple-40">
159+
<pre className="min-w-0 flex-1 whitespace-pre-wrap break-words font-mono text-body font-normal text-purple-40 md:text-lead">
160160
{example.precanned.value}
161161
</pre>
162162
</div>

0 commit comments

Comments
 (0)