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

Scroll Problem #99 #105

Open
kimdevz opened this issue Aug 22, 2024 · 0 comments
Open

Scroll Problem #99 #105

kimdevz opened this issue Aug 22, 2024 · 0 comments

Comments

@kimdevz
Copy link

kimdevz commented Aug 22, 2024

Solution : CSS Styling Adjustments

#root {
    height: 100vh; /* Viewport height */
}

.scrollable-container {
    overflow-y: scroll;
    border: 5px solid black;
    height: 800px;
}

Ensure that the style attribute on the container <div> where the robots are displayed is correctly set with overflow: scroll; and height: 800px;. This ensures that the content inside will scroll if it exceeds the container's height.

However, the parent container (<div id="root">) and any ancestor elements should not have conflicting height or overflow settings that might cause the scrolling behavior to fail.

Suggestion: Instead of using scrolling, I suggest using pagination. Pagination can improve the user experience by allowing users to navigate through smaller, more manageable chunks of content, rather than scrolling through long lists.

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