-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Fix Gap Between Note /Title placeholder and text input field in Notes/Title Layoutx #7135
Conversation
Welcome!
Hello there, congrats on your first PR! We're excited to have you contributing to this project. |
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.
PR Summary
This pull request addresses the gap between the Note/Title placeholder and text input field in the Notes/Title layout, focusing on improving the user interface and responsiveness.
- Added static positioning and overflow-y: auto to StyledHeader in RecordBoardColumnHeader.tsx for better layout control
- Implemented a media query in TextAreaInput.tsx to adjust positioning on mobile devices (left: -40px, top: 10px)
- Reordered imports and adjusted styling in TextAreaInput.tsx for improved code organization
- Potential concern: The absolute positioning for mobile devices in TextAreaInput may cause layout issues in certain scenarios
2 file(s) reviewed, 3 comment(s)
Edit PR Review Bot Settings
position: static; | ||
top: 0px; | ||
overflow-y: auto; |
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.
style: Adding static positioning and top offset may affect layout. Ensure this doesn't cause unintended consequences in different viewport sizes.
@@ -22,6 +22,9 @@ const StyledHeader = styled.div` | |||
justify-content: left; | |||
margin-bottom: ${({ theme }) => theme.spacing(2)}; | |||
width: 100%; | |||
position: static; | |||
top: 0px; | |||
overflow-y: auto; |
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.
style: overflow-y: auto might cause unexpected scrolling behavior within the header. Verify this is the intended behavior.
@media (max-width: 768px) { | ||
position: absolute; | ||
left: -40px; | ||
top: 10px; | ||
} |
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.
style: This absolute positioning for mobile screens may cause layout issues. Consider using a more flexible approach that doesn't rely on fixed pixel values.
Hello @yuvaraj8019 Thank you for your contribution ;) Be careful, you pushed |
This pull request fixes the gap between the Note/Title placeholder and the text input field in the Notes/Title layout. By adjusting the spacing, the layout now feels cleaner and more intuitive, making it easier for users to interact with the input fields.