-
Notifications
You must be signed in to change notification settings - Fork 3
fix: 프로필 수정 필드 테두리 제거 #608
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,8 +27,8 @@ const InputField = ({ name, label, placeholder }: InputFieldProps) => { | |
| value={(field.value as string) ?? ""} // undefined일 때 빈 문자열 | ||
| placeholder={placeholder} | ||
| className={clsx( | ||
| "w-full rounded-lg border p-3 pr-12 text-primary placeholder:text-primary-200 focus:border-primary focus:outline-none", | ||
| error ? "border-red-500" : "border-gray-300", | ||
| "w-full rounded-lg bg-k-50 p-3 pr-12 text-primary placeholder:text-primary-200 focus:outline-none", | ||
| error && "border border-red-500", | ||
|
Comment on lines
+30
to
+31
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win 🧩 Analysis chain🏁 Script executed: sed -n '1,120p' apps/web/src/app/my/modify/_ui/ModifyContent/_ui/InputFiled/index.tsxRepository: solid-connection/solid-connect-web Length of output: 1500 1. 포커스 표시를 추가해주세요. 🤖 Prompt for AI Agents |
||
| )} | ||
| /> | ||
| </div> | ||
|
|
||
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.
When the nickname field has no validation error, this removes the only focus affordance: the default border is gone and
focus:outline-nonesuppresses the browser outline without adding a replacementfocus-visiblering/border. Keyboard users on the profile edit screen will not be able to see that the text input is focused unless it is already in the error state.Useful? React with 👍 / 👎.