Skip to content

Conversation

@Johnson-f
Copy link

@Johnson-f Johnson-f commented Oct 21, 2025

Rendering fix

Description

This PR fixes styling issues with overflow behavior on the main editor and all modal components, ensuring proper scrollbar theming and consistent UI behavior across light and dark modes.

  • Fixed scrollbar styling issues that were causing inconsistent overflow behavior
  • Resolved Biome formatting errors in editor components
  • Fixed TypeScript error in toast context (corrected typo in type definition)
  • Ensured proper theme-aware scrollbar colors using CSS variables
  • Applied consistent scrollbar styling across all modal components

Screenshots/Videos

Before
Screenshot 2025-10-21 at 22 10 17

After
Screenshot 2025-10-21 at 22 11 19

Related Issues

Closes # Fixes #


Technical Details:

  • Modified src/components/editor/code-editor.tsx - Fixed import formatting
  • Modified src/components/editor/core/text-editor.tsx - Fixed import organization
  • Modified src/components/layout/main-layout.tsx - Fixed lazy import formatting
  • Modified src/contexts/toast-context.tsx - Fixed TypeScript type error (ToastContextTypeoastToast)
  • Updated scrollbar styling to use theme-aware CSS variables
  • All changes pass TypeScript typecheck and Biome linting

Files Changed: 11 files with 579 insertions and 10 deletions

@mehmetozguldev mehmetozguldev self-requested a review October 22, 2025 14:25
@mehmetozguldev
Copy link
Contributor

we can also clear the unrelated files from this PR, like .cursor/

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