Skip to content

Commit

Permalink
Merge pull request #3666 from neos/bugfix/dropdown-scrollbar
Browse files Browse the repository at this point in the history
BUGFIX: Style scrollbar in inspector dropdowns
  • Loading branch information
Sebobo authored Nov 16, 2023
2 parents b26f24d + 9ce8861 commit b6bd93c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/neos-ui/src/Containers/style.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,22 +57,26 @@
/* Scrollbar styles for appContainer, its siblings (needed for React portals) and also for contentcanvas' body */
:global(#appContainer ::-webkit-scrollbar),
:global(#appContainer ~ * ::-webkit-scrollbar),
:global(#appContainer ~ *::-webkit-scrollbar),
:global(body::-webkit-scrollbar) {
width: 4px;
height: 4px;
}
:global(#appContainer ::-webkit-scrollbar-track),
:global(#appContainer ~ * ::-webkit-scrollbar-track),
:global(#appContainer ~ *::-webkit-scrollbar-track),
:global(body::-webkit-scrollbar-track) {
background-color: transparent;
}
:global(#appContainer ::-webkit-scrollbar-thumb),
:global(#appContainer ~ * ::-webkit-scrollbar-thumb),
:global(#appContainer ~ *::-webkit-scrollbar-thumb),
:global(body::-webkit-scrollbar-thumb) {
background-color: var(--colors-ContrastBright);
}
:global(#appContainer ::-webkit-scrollbar-corner),
:global(#appContainer ~ * ::-webkit-scrollbar-corner),
:global(#appContainer ~ *::-webkit-scrollbar-corner),
:global(body::-webkit-scrollbar-corner) {
background-color: var(--colors-ContrastDark);
}

0 comments on commit b6bd93c

Please sign in to comment.