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

Ex: In DarkMode, a blank square appears in bottom right corner while scrolling #27

Open
rajitkhanna opened this issue Jan 18, 2025 · 1 comment

Comments

@rajitkhanna
Copy link
Member

Bug Description

A clear and concise description of what the current behavior is.
Please also add screenshots of the existing application.

Example:

In DarkMode, when scrollbar are displayed (for example on Companies page, with enough companies in the list), we see a blank square in the bottom right corner
[screenshot]

Expected behavior

A clear and concise description of what the expected behavior is.

Example:

The blank square should be transparent (invisible)

Technical inputs

Example:

- We are displaying custom scrollbars that disappear when the user is not scrolling. See ScrollWrapper.
- Probably fixable with CSS
Copy link

To fix the blank square in DarkMode: 1. Locate the ScrollWrapper component, likely in src/modules/ui/components/ScrollWrapper.tsx. 2. Find the CSS for the scrollbar in DarkMode. Look for styles applied when data-theme='dark' is set. 3. Add background-color: transparent; to the scrollbar track styles for DarkMode. 4. If using a custom scrollbar library, check its documentation for theme-specific styling options. 5. Ensure the scrollbar corner is also set to transparent in DarkMode. Example CSS adjustment: css [data-theme='dark'] .scrollbar-track { background-color: transparent !important; } [data-theme='dark'] .scrollbar-corner { background-color: transparent !important; } Adjust selectors and property names as needed based on the actual implementation.

About Greptile

This response provides a starting point for your research, not a precise solution.

Help us improve! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

Edit Issue Bot Settings · Greptile

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

1 participant