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 overflow on devtools tabs #8610

Closed
linear bot opened this issue May 17, 2024 · 2 comments
Closed

Fix overflow on devtools tabs #8610

linear bot opened this issue May 17, 2024 · 2 comments

Comments

@linear
Copy link

linear bot commented May 17, 2024

image.png

are we using the right buttons here? why do they overflow

Copy link
Author

linear bot commented May 17, 2024

Copy link

greptile-apps bot commented May 17, 2024

To fix the overflow issue on devtools tabs, update the styles in DevToolsWindowV2.tsx and style.css.ts.

  1. Update DevToolsWindowV2.tsx:

    <Tabs.List px="8" style={{ overflowX: 'auto', whiteSpace: 'nowrap' }}>
  2. Update style.css.ts:

    export const tabsList = style({
      overflowX: 'auto',
      whiteSpace: 'nowrap',
    });
  3. Apply the new style in DevToolsWindowV2.tsx:

    <Tabs.List px="8" className={styles.tabsList}>

References

/frontend/src/pages/Player/Toolbar/DevToolsWindowV2
/frontend/src/pages/Player/Toolbar/DevToolsWindowV2/style.css.ts
/frontend/src/pages/Player/Toolbar/DevToolsWindowV2/DevToolsWindowV2.tsx

Ask Greptile

@linear linear bot closed this as completed May 28, 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

No branches or pull requests

0 participants