Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
}
}

/* remove scroll bar for all browsers */
::-webkit-scrollbar { display: none; }
* { -ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
Comment on lines +25 to +29
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Scope scrollbar hiding; global suppression is too broad and can break usability.

Line 26 and Line 27 apply scrollbar removal to all elements, which can hide scroll affordance across the app (including nested panels/modals) and create accessibility regressions. Please scope this to a specific container/utility class (or fix the vertical overflow source) instead of global selectors.

Suggested scoped approach
-/* remove scroll bar for all browsers */
-::-webkit-scrollbar { display: none; }
-* { -ms-overflow-style: none;  /* IE and Edge */
-  scrollbar-width: none;  /* Firefox */
-}
+/* apply only where intentional */
+.hide-scrollbar {
+  -ms-overflow-style: none; /* IE and Edge */
+  scrollbar-width: none;    /* Firefox */
+}
+.hide-scrollbar::-webkit-scrollbar {
+  display: none;            /* Chrome/Safari/Opera */
+}
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
/* remove scroll bar for all browsers */
::-webkit-scrollbar { display: none; }
* { -ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
/* apply only where intentional */
.hide-scrollbar {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
.hide-scrollbar::-webkit-scrollbar {
display: none; /* Chrome/Safari/Opera */
}
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/index.css` around lines 25 - 29, The global scrollbar-hiding rules (::
-webkit-scrollbar, the universal * selector with -ms-overflow-style and
scrollbar-width) are too broad; remove those global rules and replace them with
a scoped utility or container selector (e.g. .no-scrollbar or
.app-scroll-container) and move the ::-webkit-scrollbar, -ms-overflow-style and
scrollbar-width rules under that class; then apply that class only to the
specific container(s) that need scrollbar suppression (e.g. the top-level scroll
region or a modal content wrapper) rather than globally to all elements.


.how-it-works-flow-line {
display: block;
height: 2px;
Expand Down
Loading