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

Fix Gap Between Note /Title placeholder and text input field in Notes/Title Layoutx #7135

Closed

Conversation

yuvaraj8019
Copy link

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.

  • Adjusted the CSS to reduce the gap between the placeholder and the text input field.
  • Verified the layout consistency across different screen sizes and devices.
  • Ensured the changes adhere to the project's UI/UX guidelines.

Copy link

Welcome!

Hello there, congrats on your first PR! We're excited to have you contributing to this project.
By submitting your Pull Request, you acknowledge that you agree with the terms of our Contributor License Agreement.

Generated by 🚫 dangerJS against f3fefd9

Copy link
Contributor

@greptile-apps greptile-apps bot left a 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

Comment on lines +25 to +27
position: static;
top: 0px;
overflow-y: auto;
Copy link
Contributor

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;
Copy link
Contributor

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.

Comment on lines +44 to +48
@media (max-width: 768px) {
position: absolute;
left: -40px;
top: 10px;
}
Copy link
Contributor

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.

@bosiraphael
Copy link
Contributor

Hello @yuvaraj8019 Thank you for your contribution ;) Be careful, you pushed .package-lock.json files in your PR, please check that your .gitignore file is correct

@yuvaraj8019 yuvaraj8019 closed this by deleting the head repository Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants