File tree Expand file tree Collapse file tree 2 files changed +37
-15
lines changed
src/components/conformance/ResultsDisplay Expand file tree Collapse file tree 2 files changed +37
-15
lines changed Original file line number Diff line number Diff line change @@ -15,18 +15,22 @@ type ResultsNavProps = {
15
15
export default function ResultNavigation ( props : ResultsNavProps ) : JSX . Element {
16
16
return (
17
17
< div className = { styles . resultsNav } >
18
- < EcmaScriptVersionDropdown
19
- setEcmaScriptFlag = { props . setEcmaScriptFlag }
20
- esVersionValue = { props . state . ecmaScriptVersion }
21
- />
22
- < SortingDropdown
23
- sortValue = { props . state . sortOption }
24
- setSortOption = { props . setSortOption }
25
- />
26
- < NavBreadCrumbs
27
- navPath = { props . state . testPath }
28
- sliceNavToIndex = { props . sliceNavToIndex }
29
- />
18
+ < div className = { styles . navSection } >
19
+ < EcmaScriptVersionDropdown
20
+ setEcmaScriptFlag = { props . setEcmaScriptFlag }
21
+ esVersionValue = { props . state . ecmaScriptVersion }
22
+ />
23
+ < SortingDropdown
24
+ sortValue = { props . state . sortOption }
25
+ setSortOption = { props . setSortOption }
26
+ />
27
+ </ div >
28
+ < div className = { styles . navSection } >
29
+ < NavBreadCrumbs
30
+ navPath = { props . state . testPath }
31
+ sliceNavToIndex = { props . sliceNavToIndex }
32
+ />
33
+ </ div >
30
34
</ div >
31
35
) ;
32
36
}
Original file line number Diff line number Diff line change 15
15
padding : 0.75em ;
16
16
}
17
17
18
+ .navSection {
19
+ display : flex;
20
+ flex-direction : row;
21
+ }
22
+
18
23
.navLink : hover {
19
24
cursor : pointer;
20
25
}
27
32
padding : 0.5rem 0 ;
28
33
}
29
34
30
- @media screen and (max-height : 996px ) {
35
+ @media screen and (max-width : 996px ) {
31
36
.resultsDisplay {
32
37
height : auto;
33
38
width : calc (100 vw-12px);
34
39
overflow-y : auto;
35
40
}
36
41
42
+ .navSection {
43
+ min-height : 2.5rem ;
44
+ height : auto;
45
+ width : 100vw ;
46
+ }
47
+
37
48
.resultsNav {
38
- height : 3.5rem ;
49
+ height : auto;
50
+ flex-direction : column;
39
51
width : 100vw ;
40
- padding : 0.75rem auto;
52
+ padding : 0 ;
53
+ }
54
+
55
+ .dropdownContainer {
56
+ padding : 0.25rem 0 ;
57
+ width : 10.5rem ;
58
+ height : 2rem ;
41
59
}
42
60
}
You can’t perform that action at this time.
0 commit comments