File tree 1 file changed +7
-4
lines changed
web/src/pages/Courts/CourtDetails
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
import React , { useState , useMemo } from "react" ;
2
2
import styled , { css } from "styled-components" ;
3
3
4
+ import { OverlayScrollbarsComponent } from "overlayscrollbars-react" ;
4
5
import { useNavigate , useParams } from "react-router-dom" ;
5
6
6
7
import { Card , DropdownCascader , Searchbar } from "@kleros/ui-components-library" ;
7
8
8
- import { isKlerosUniversity } from "src/consts" ;
9
9
import { isUndefined } from "utils/index" ;
10
10
11
11
import { useCourtTree , rootCourtToItems } from "queries/useCourtTree" ;
12
12
13
- import { responsiveSize } from "styles/responsiveSize " ;
14
- import { landscapeStyle } from "styles/landscapeStyle" ;
13
+ import { isKlerosUniversity } from "src/consts " ;
14
+
15
15
import { hoverShortTransitionTiming } from "styles/commonStyles" ;
16
+ import { landscapeStyle } from "styles/landscapeStyle" ;
17
+ import { responsiveSize } from "styles/responsiveSize" ;
16
18
17
19
import { StyledSkeleton } from "components/StyledSkeleton" ;
20
+
18
21
import StakeMaintenanceButtons from "../StakeMaintenanceButton" ;
19
22
20
23
const Container = styled . div `
@@ -54,7 +57,7 @@ const StyledSearchbar = styled(Searchbar)`
54
57
}
55
58
` ;
56
59
57
- const SearchResultsContainer = styled . div `
60
+ const SearchResultsContainer = styled ( OverlayScrollbarsComponent ) `
58
61
position: absolute;
59
62
margin-top: 45px;
60
63
max-height: 400px;
You can’t perform that action at this time.
0 commit comments