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

Inconsistent Tab Layouts on Record Pages #5923

Open
Bonapara opened this issue Jun 18, 2024 · 1 comment
Open

Inconsistent Tab Layouts on Record Pages #5923

Bonapara opened this issue Jun 18, 2024 · 1 comment
Assignees
Labels
scope: front Issues that are affecting the frontend side only size: minutes

Comments

@Bonapara
Copy link
Member

Current behavior

The Record pages tab layouts are not consistent:

CleanShot.2024-06-18.at.11.51.18.mp4

Desired Behavior

The padding should be consistent: Check values on Figma
The font used should be H3: Check on Figma

https://www.figma.com/design/xt8O9mFeLl46C5InWwoMrN/Twenty?node-id=14921-60484&t=jqRWyAJosBHzOW0I-11

@Bonapara Bonapara added scope: front Issues that are affecting the frontend side only size: minutes labels Jun 18, 2024
Copy link

greptile-apps bot commented Jun 18, 2024

To resolve the inconsistent tab layouts on Record pages:

  1. Update Padding:

    • Locate the relevant components in src/components/RecordTabs.js.
    • Adjust the padding values to match those specified in the Figma design.
    const TabContainer = styled.div`
      padding: 16px; // Update this value as per Figma
    `;
  2. Update Font:

    • Ensure the font used is H3 in the same file or relevant CSS/Styled-Components.
    const TabTitle = styled.h3`
      font-size: 1.5em; // Ensure this matches H3 specifications from Figma
      font-family: 'YourFontFamily';
    `;

Refer to the Figma design for exact values and ensure all instances are updated accordingly.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: front Issues that are affecting the frontend side only size: minutes
Projects
Status: 🔖 Planned
Development

No branches or pull requests

3 participants