Skip to content

Commit

Permalink
Merge pull request #57 from Arindam200/main
Browse files Browse the repository at this point in the history
fix: Fixed Scrollbar Styles
  • Loading branch information
jwafu authored Jan 5, 2024
2 parents fdc4927 + 288f03b commit 4b6f741
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {CopilotChat} from './components/Copilot'
import {connect} from './utils/Connect'
import { Indicator } from "./components/Indicator";
import CopilotStreamController from "./controllers/copilotStreamController";
import "./global.css";


// types
Expand Down Expand Up @@ -120,7 +121,7 @@ export function App(): React.JSX.Element {
</div>

<div style={{
overflow: "scroll",
overflowY: "scroll",
minWidth: '700px',
minHeight: "80%",
paddingRight: '5px',
Expand Down
15 changes: 15 additions & 0 deletions src/app/global.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
::-webkit-scrollbar {
width: 8px;
}

::-webkit-scrollbar-thumb {
background-color: #d0d0d0;
border-radius: 12px;
}

::-webkit-scrollbar-track {
background-color: #f1f1f1;
}
::-webkit-scrollbar-thumb:hover {
background-color: #b3b2b2;
}

0 comments on commit 4b6f741

Please sign in to comment.