File tree 1 file changed +3
-2
lines changed
packages/design-system/src/utilities/ScrollArea
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ const ScrollAreaRoot = styled(ScrollArea.Root)`
39
39
40
40
const ScrollAreaViewport = styled ( ScrollArea . Viewport ) `
41
41
min-width: 100%;
42
- padding-inline: 4px;
43
42
` ;
44
43
45
44
const Scrollbar = styled ( ScrollArea . Scrollbar ) `
@@ -51,19 +50,21 @@ const Scrollbar = styled(ScrollArea.Scrollbar)`
51
50
52
51
&[data-orientation='vertical'] {
53
52
width: 0.4rem;
53
+ margin: 0.4rem;
54
54
}
55
55
56
56
&[data-orientation='horizontal'] {
57
57
flex-direction: column;
58
58
height: 0.4rem;
59
+ margin: 0.4rem;
59
60
}
60
61
` ;
61
62
62
63
const Thumb = styled ( ScrollArea . Thumb ) `
63
64
position: relative;
64
65
flex: 1;
65
66
background-color: ${ ( props ) => props . theme . colors . neutral150 } ;
66
- border-radius: var(--scrollbar-size) ;
67
+ border-radius: 0.4rem ;
67
68
68
69
/* increase target size for touch devices https://www.w3.org/WAI/WCAG21/Understanding/target-size.html */
69
70
&::before {
You can’t perform that action at this time.
0 commit comments