The registration form wraps each input inside a styled .form-input-bash-wrapper container. The wrapper has padding applied to it, while the actual <input> occupies only the inner content area.
As a result, clicking on the padded region of the wrapper does not focus the input field. Users must click directly on the input element itself, making the input area feel smaller than its visible bounds and resulting in inconsistent interaction.
To Reproduce
- Navigate to
/registration.
- Click near the left or right padding inside any registration input field (e.g. Full Name or LeetCode Username).
- Notice that the input does not receive focus.
- Click directly on the text input itself.
- The input now focuses correctly.
Expected Behavior
Clicking anywhere inside the visible input container should focus the corresponding input field.
Code Reference
In frontend/styles/main.css:
.form-input-bash-wrapper {
padding: 0.75rem 1rem;
}
The padding belongs to the wrapper rather than the input, so clicks on the padded region target the wrapper instead of the input element.
Requirement
The final solution should preserve the current visual appearance while ensuring the entire visible input area is clickable.
The registration form wraps each input inside a styled
.form-input-bash-wrappercontainer. The wrapper has padding applied to it, while the actual<input>occupies only the inner content area.As a result, clicking on the padded region of the wrapper does not focus the input field. Users must click directly on the input element itself, making the input area feel smaller than its visible bounds and resulting in inconsistent interaction.
To Reproduce
/registration.Expected Behavior
Clicking anywhere inside the visible input container should focus the corresponding input field.
Code Reference
In
frontend/styles/main.css:The padding belongs to the wrapper rather than the input, so clicks on the padded region target the wrapper instead of the input element.
Requirement
The final solution should preserve the current visual appearance while ensuring the entire visible input area is clickable.