Skip to content
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

feat: add app name in the input placeholder #402

Merged
merged 2 commits into from
Dec 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions frontend/components/apps/DeleteAppDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,19 +143,15 @@ export default function DeleteAppDialog(props: {
</Alert>

<div className="flex flex-col justify-center max-w-md mx-auto">
<label
className="block text-gray-700 text-sm font-bold mb-2"
htmlFor="appname"
>
Please type the App name to confirm
</label>
<div className="text-sm text-gray-500 dark:text-gray-400 mb-2">
Please enter the App name <span className="text-gray-900 dark:text-white font-mono font-medium">{appName}</span> to confirm:
</div>
<input
id="appname"
className="text-lg"
required
maxLength={64}
value={typedName}
placeholder="MyApp"
onChange={(e) => setTypedName(e.target.value)}
/>
</div>
Expand Down
Loading