Skip to content

Commit

Permalink
key fix, css comments removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Kacperacy committed Apr 6, 2024
1 parent bda63aa commit 647a187
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion src/components/TopBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function TopBar() {
<div className="flex flex-row bg-slate-700 overflow-x-auto overflow-y-hidden scrollbar-thin">
{files.map((file) => (
<FileTab
key={file.filePath}
key={"file-tab-" + file.filePath}
name={file.name}
filePath={file.filePath}
isActive={file.active}
Expand Down
8 changes: 0 additions & 8 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,28 @@
@tailwind components;
@tailwind utilities;

/* scrollbar.css */

@layer utilities {

/* Width of the horizontal scrollbar */
.scrollbar-thin::-webkit-scrollbar {
height: 5px;
}

/* Background color of the horizontal scrollbar track */
.scrollbar-thin::-webkit-scrollbar-track {
background: #f1f1f1;
}

/* Color of the horizontal scrollbar thumb */
.scrollbar-thin::-webkit-scrollbar-thumb {
background: #888;
}

/* Firefox horizontal scrollbar width */
.scrollbar-thin {
scrollbar-height: thin;
}

/* Firefox horizontal scrollbar track color */
.scrollbar-thin *::-moz-scrollbar-track {
background: #f1f1f1;
}

/* Firefox horizontal scrollbar thumb color */
.scrollbar-thin *::-moz-scrollbar-thumb {
background: #888;
}
Expand Down

0 comments on commit 647a187

Please sign in to comment.