From 6ddb5ab9fd5e2e9b55702a18616fd047e6458124 Mon Sep 17 00:00:00 2001 From: Sparsh Date: Tue, 19 May 2026 00:59:58 +0530 Subject: [PATCH] chore(web): remove stale scrollbar-thin className references MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .scrollbar-thin was replaced by global *::-webkit-scrollbar rules in index.css. The 8 className references across 5 components became dead code — the global rules apply regardless. Removing them keeps the codebase consistent with the stylesheet and eliminates the misleading implication that per-element scrollbar customisation is active. --- gitnexus-web/src/components/CodeReferencesPanel.tsx | 4 ++-- gitnexus-web/src/components/FileTreePanel.tsx | 4 ++-- gitnexus-web/src/components/ProcessesPanel.tsx | 2 +- gitnexus-web/src/components/QueryFAB.tsx | 2 +- gitnexus-web/src/components/RightPanel.tsx | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gitnexus-web/src/components/CodeReferencesPanel.tsx b/gitnexus-web/src/components/CodeReferencesPanel.tsx index 1b7a0c5b0..bd854df9c 100644 --- a/gitnexus-web/src/components/CodeReferencesPanel.tsx +++ b/gitnexus-web/src/components/CodeReferencesPanel.tsx @@ -377,7 +377,7 @@ export const CodeReferencesPanel = ({ onFocusNode }: CodeReferencesPanelProps) = -
+
{isLoadingFile ? (
@@ -453,7 +453,7 @@ export const CodeReferencesPanel = ({ onFocusNode }: CodeReferencesPanelProps) = {aiReferences.length} reference{aiReferences.length !== 1 ? 's' : ''}
-
+
{refsWithSnippets.map( ({ ref, content, start, highlightStart, highlightEnd, totalLines }) => { const nodeColor = ref.label diff --git a/gitnexus-web/src/components/FileTreePanel.tsx b/gitnexus-web/src/components/FileTreePanel.tsx index 98c20c68a..70a9a826c 100644 --- a/gitnexus-web/src/components/FileTreePanel.tsx +++ b/gitnexus-web/src/components/FileTreePanel.tsx @@ -384,7 +384,7 @@ export const FileTreePanel = ({ onFocusNode }: FileTreePanelProps) => {
{/* File tree */} -
+
{fileTree.length === 0 ? (
No files loaded
) : ( @@ -406,7 +406,7 @@ export const FileTreePanel = ({ onFocusNode }: FileTreePanelProps) => { )} {activeTab === 'filters' && ( -
+

Node Types diff --git a/gitnexus-web/src/components/ProcessesPanel.tsx b/gitnexus-web/src/components/ProcessesPanel.tsx index 5ea887c63..784cec90c 100644 --- a/gitnexus-web/src/components/ProcessesPanel.tsx +++ b/gitnexus-web/src/components/ProcessesPanel.tsx @@ -361,7 +361,7 @@ export const ProcessesPanel = () => {

{/* Process list */} -
+
{/* View All Processes Card */}
{showResults && queryResult.rows.length > 0 && ( -
+
diff --git a/gitnexus-web/src/components/RightPanel.tsx b/gitnexus-web/src/components/RightPanel.tsx index 3e063a168..328e4b8c5 100644 --- a/gitnexus-web/src/components/RightPanel.tsx +++ b/gitnexus-web/src/components/RightPanel.tsx @@ -290,7 +290,7 @@ export const RightPanel = () => { )} {/* Messages */} -
+
{chatMessages.length === 0 ? (
@@ -416,7 +416,7 @@ export const RightPanel = () => { onKeyDown={handleKeyDown} placeholder="Ask about the codebase..." rows={1} - className="scrollbar-thin min-h-[36px] flex-1 resize-none border-none bg-transparent text-sm text-text-primary outline-none placeholder:text-text-muted" + className="min-h-[36px] flex-1 resize-none border-none bg-transparent text-sm text-text-primary outline-none placeholder:text-text-muted" style={{ height: '36px', overflowY: 'hidden' }} />