Skip to content

Commit

Permalink
Fix Styling for Smaller Screens
Browse files Browse the repository at this point in the history
  • Loading branch information
njfdev committed Aug 17, 2024
1 parent 75a8939 commit 916cf1f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/docs/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ function TryYourselfAPIBlock({

return (
<div className="flex flex-col gap-1">
<div className="flex gap-1 w-full *:grow">
<div className="flex sm:flex-row flex-col gap-1 w-full *:grow">
{parameters.map((parameter) => {
return (
<Button
Expand Down
8 changes: 8 additions & 0 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,11 @@
@apply bg-background text-foreground;
}
}

pre {
overflow-y: scroll;
}

code {
word-wrap: break-word;
}

0 comments on commit 916cf1f

Please sign in to comment.