e373d17a2a
* The scrollbar should fade away when the scroll is finished or not started Co-authored-by: v1b3m <vibenjamin6@gmail.com> Co-authored-by: FellipeMTX <fellipefacdir@gmail.com> * Complete scroll work * Fix pr * Fix pr --------- Co-authored-by: v1b3m <vibenjamin6@gmail.com> Co-authored-by: FellipeMTX <fellipefacdir@gmail.com> Co-authored-by: Charles Bochet <charles@twenty.com>
13 lines
268 B
TypeScript
13 lines
268 B
TypeScript
import styled from '@emotion/styled';
|
|
|
|
export const StyledScrollWrapper = styled.div`
|
|
display: flex;
|
|
height: 100%;
|
|
overflow: auto;
|
|
width: 100%;
|
|
|
|
&.scrolling::-webkit-scrollbar-thumb {
|
|
background-color: ${({ theme }) => theme.border.color.medium};
|
|
}
|
|
`;
|