-
-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: add break word all for better ux #753
base: next
Are you sure you want to change the base?
Conversation
@rasvanjaya21 is attempting to deploy a commit to the 47ng Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, the mobile layout needs looking into.
@@ -28,7 +28,7 @@ export function Demo() { | |||
<> | |||
<input value={name || ''} onChange={e => setName(e.target.value)} /> | |||
<button onClick={() => setName(null)}>Clear</button> | |||
<p>Hello, {name || 'anonymous visitor'}!</p> | |||
<p className="break-all">Hello, {name || 'anonymous visitor'}!</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: styles are not needed in documentation code blocks, they distract from the main intent (showing how to use nuqs).
<p className="break-all">Hello, {name || 'anonymous visitor'}!</p> | |
<p>Hello, {name || 'anonymous visitor'}!</p> |
@@ -24,7 +24,7 @@ export function Demo() { | |||
onChange={e => setHello(e.target.value || null)} | |||
data-interacted={Boolean(hello)} | |||
/> | |||
<p>Hello, {hello || 'anonymous visitor'}!</p> | |||
<p className="break-all">Hello, {hello || 'anonymous visitor'}!</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: this file isn't used in the codebase, it was just a demo of how GitHub uses search params to store state, we should probably remove it.
<p className="break-all">Hello, {hello || 'anonymous visitor'}!</p> | |
<p>Hello, {hello || 'anonymous visitor'}!</p> |
@@ -21,7 +21,7 @@ export async function LandingDemo() { | |||
<div className="mb-4 h-[136px] animate-pulse rounded bg-zinc-50 dark:bg-zinc-900 sm:h-10" /> | |||
} | |||
> | |||
<div className="mb-4 flex flex-col gap-4 sm:flex-row sm:items-center"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implemented #752