File tree 3 files changed +11
-5
lines changed
3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,10 @@ const FilterSection: React.FC<FilterSectionProps> = ({
76
76
sx = { {
77
77
overflowY : 'auto' ,
78
78
maxHeight : '25rem' ,
79
- backgroundColor : styleProps . backgroundColor
79
+ backgroundColor : styleProps . backgroundColor ,
80
+ '&::-webkit-scrollbar' : {
81
+ width : '6px'
82
+ }
80
83
} }
81
84
>
82
85
{ showSearch && (
Original file line number Diff line number Diff line change @@ -16,7 +16,10 @@ export const FiltersCardDiv = styled(Box)<{ styleProps: StyleProps }>(({ stylePr
16
16
[ '@media (max-width:900px)' ] : {
17
17
display : 'none'
18
18
} ,
19
- fontFamily : styleProps . fontFamily
19
+ fontFamily : styleProps . fontFamily ,
20
+ '&::-webkit-scrollbar' : {
21
+ width : '6px'
22
+ }
20
23
} ) ) ;
21
24
22
25
export const FilterDrawerDiv = styled ( 'div' ) ( ( ) => ( {
Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ export const MainContainer = styled(Box)(({ theme }) => ({
73
73
: theme . palette . background . secondary ,
74
74
paddingTop : theme . spacing ( 2 ) ,
75
75
borderRadius : '1rem' ,
76
- marginBottom : theme . spacing ( 4 ) ,
77
76
display : 'flex' ,
78
77
alignItems : 'center' ,
79
78
flexDirection : 'column'
@@ -181,7 +180,7 @@ export const StatsValue = styled(Typography)(({ theme }) => ({
181
180
} ) ) ;
182
181
183
182
export const RepoSection = styled ( Box ) ( ( { theme } ) => ( {
184
- marginBlock : '.35rem ' ,
183
+ marginBottom : '1rem ' ,
185
184
padding : '8px' ,
186
185
borderRadius : '8px' ,
187
186
background : theme . palette . mode === 'light' ? '#f8fafc' : DARK_TEAL ,
@@ -203,7 +202,8 @@ export const RepoTitle = styled(Typography)(({ theme }) => ({
203
202
WebkitBoxOrient : 'vertical' ,
204
203
overflow : 'hidden' ,
205
204
textOverflow : 'ellipsis' ,
206
- height : '2.6em'
205
+ minHeight : 'fit-content' ,
206
+ maxHeight : '2.6em'
207
207
} ) ) ;
208
208
209
209
export const UserNameText = styled ( Typography ) ( ( { theme } ) => ( {
You can’t perform that action at this time.
0 commit comments