Skip to content

Commit

Permalink
[Topics/Orgs Header][xs]: adds default green color to scrollbar -- refs
Browse files Browse the repository at this point in the history
  • Loading branch information
demenech committed Sep 20, 2022
1 parent eda417c commit 6f0ce8e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions components/_shared/image_header/ImageHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ const ImageHeader: React.FC<ImageHeaderProps> = ({
children,
color,
}) => {
let scrollbarCss;
if (color)
scrollbarCss = `
const scrollbarCss = `
.ScrollbarsCustom-Thumb.ScrollbarsCustom-ThumbY {
background: ${color} !important;
background: ${color || '#22B373'} !important;
opacity: 0.5;
}
`;
Expand Down

0 comments on commit 6f0ce8e

Please sign in to comment.