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

Minor page header fix #7927

Merged
merged 2 commits into from
Oct 21, 2024
Merged

Conversation

ehconitin
Copy link
Contributor

Screenshot 2024-10-22 at 00 03 03 Screenshot 2024-10-22 at 00 04 33

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 simplifies the PageHeader component by removing the width prop, potentially affecting the layout in scenarios where custom widths were previously used.

  • Removed width prop from PageHeader component in packages/twenty-front/src/modules/ui/layout/page/components/PageHeader.tsx
  • Eliminated width property from StyledTopBarContainer styled component
  • Default width now set to 100% for non-mobile viewports
  • May impact layouts where custom header widths were previously specified

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

Copy link
Member

@charlesBochet charlesBochet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even better, thanks @ehconitin!

@charlesBochet charlesBochet merged commit 4407b1a into twentyhq:main Oct 21, 2024
16 checks passed
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