Skip to content

Commit

Permalink
feat(markdown): Add horizon scrollbar gradation color
Browse files Browse the repository at this point in the history
  • Loading branch information
1ilsang committed Jun 11, 2024
1 parent 9e1f892 commit 098a878
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/features/styles/markdown/_image.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,16 @@
width: 100%;
overflow-x: scroll;
gap: 0.3rem;

&::-webkit-scrollbar {
height: 4px;
background-color: transparent;
}

&::-webkit-scrollbar-thumb {
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
background-size: 400% 400%;
border-radius: 4px;
}
}
}

0 comments on commit 098a878

Please sign in to comment.