Skip to content

Commit e4165dd

Browse files
MuriloFPdaniel-lxs
authored andcommitted
fix: consolidate duplicate scrollbar hiding classes
- Remove duplicate .hide-scrollbar class (lines 483-489) - Update ChatTextArea.tsx to use consolidated .scrollbar-hide class - Both classes were functionally identical, keeping the first one with proper documentation
1 parent e3973cd commit e4165dd

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

webview-ui/src/components/chat/ChatTextArea.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
947947
"flex-none flex-grow",
948948
"z-[2]",
949949
"scrollbar-none",
950-
"hide-scrollbar",
950+
"scrollbar-hide",
951951
)}
952952
onScroll={() => updateHighlights()}
953953
/>

webview-ui/src/index.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -479,11 +479,3 @@ input[cmdk-input]:focus {
479479
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
480480
transition-duration: 150ms;
481481
}
482-
483-
.hide-scrollbar {
484-
scrollbar-width: none; /* Firefox */
485-
-ms-overflow-style: none; /* IE 10+ */
486-
}
487-
.hide-scrollbar::-webkit-scrollbar {
488-
display: none; /* Chrome/Safari/Webkit */
489-
}

0 commit comments

Comments
 (0)