FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix scrollbar in the settings view by saeedvaziry · Pull Request #204 · tweakphp/tweakphp · GitHub

Repository navigation

Fix scrollbar in the settings view - #204

Merged
saeedvaziry merged 2 commits into
mainfrom
fix-settings-scroll
Dec 5, 2025
Merged

saeedvaziry merged 2 commits into
mainfrom
fix-settings-scroll

Conversation

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings December 5, 2025 14:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Pull request overview

This PR fixes scrollbar functionality in the settings view by adding vertical scrolling capability to the Container component and implementing custom scrollbar styling for better visual appearance.

Key changes:

  • Added overflow-y-auto to the Container component to enable vertical scrolling
  • Implemented custom webkit scrollbar styles with semi-transparent thumb and hover effects
  • Added utility class for hiding scrollbars when needed

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/renderer/components/Container.vue Added overflow-y-auto class to enable vertical scrolling for all container instances
src/renderer/assets/main.css Added custom scrollbar styling, scrollbar-hide utility class, and unrelated react-flow styles

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +92 to +102
.react-flow__panel.react-flow__controls {
@apply mr-2 mb-6 !rounded-sm;
}

.react-flow__panel.react-flow__controls button:first-child {
@apply !rounded-t-sm;
}

.react-flow__panel.react-flow__controls button:last-child {
@apply !rounded-b-sm;
}

Copilot AI Dec 5, 2025

Copy link

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

These react-flow CSS rules appear to be unrelated to the scrollbar fix and seem out of place in this Vue.js application. A search of the codebase found no usage of react-flow in any Vue, TypeScript, or JavaScript files. These styles should be removed unless there's a specific reason for including them (e.g., a planned feature addition).

Suggested change
.react-flow__panel.react-flow__controls {
@apply mr-2 mb-6 !rounded-sm;
}
.react-flow__panel.react-flow__controls button:first-child {
@apply !rounded-t-sm;
}
.react-flow__panel.react-flow__controls button:last-child {
@apply !rounded-b-sm;
}

Copilot uses AI. Check for mistakes.
Comment on lines +83 to +90
.scrollbar-hide {
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE 10+ */
}

.scrollbar-hide::-webkit-scrollbar {
display: none; /* Safari + Chrome */
}

Copilot AI Dec 5, 2025

Copy link

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

The .scrollbar-hide class duplicates the functionality of the existing .no-scrollbar class (lines 17-24). Both classes hide scrollbars using the same browser-specific properties. Consider removing this duplication and using the existing .no-scrollbar class instead, or remove the old class if you prefer the new naming convention.

Suggested change
.scrollbar-hide {
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE 10+ */
}
.scrollbar-hide::-webkit-scrollbar {
display: none; /* Safari + Chrome */
}

Copilot uses AI. Check for mistakes.
saeedvaziry merged commit 691eb72 into main Dec 5, 2025
4 checks passed
saeedvaziry deleted the fix-settings-scroll branch December 5, 2025 21:40
escapeboy pushed a commit to escapeboy/tweakphp that referenced this pull request Mar 28, 2026
* Fix scrollbar in the settings view

* audit fix

---------

Co-authored-by: Saeed Vaziry <sa.vaziry@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL