Skip to content

Commit

Permalink
fix(app): prevent scrollbar presence from moving ODD content left
Browse files Browse the repository at this point in the history
  • Loading branch information
ncdiehl11 committed Feb 12, 2024
1 parent ce940e8 commit 70bb53b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/App/OnDeviceDisplayApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,12 @@ export const OnDeviceDisplayApp = (): JSX.Element => {
overflow-y: ${OVERFLOW_AUTO};
&::-webkit-scrollbar {
display: ${isScrolling ? 'block' : 'none'};
display: block;
width: 0.75rem;
}
&::-webkit-scrollbar-thumb {
display: ${isScrolling ? 'block' : 'none'};
background: ${COLORS.grey50};
border-radius: 11px;
}
Expand Down

0 comments on commit 70bb53b

Please sign in to comment.