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 = {
1515export default function ResultNavigation ( props : ResultsNavProps ) : JSX . Element {
1616 return (
1717 < 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 >
3034 </ div >
3135 ) ;
3236}
Original file line number Diff line number Diff line change 1515 padding : 0.75em ;
1616}
1717
18+ .navSection {
19+ display : flex;
20+ flex-direction : row;
21+ }
22+
1823.navLink : hover {
1924 cursor : pointer;
2025}
2732 padding : 0.5rem 0 ;
2833}
2934
30- @media screen and (max-height : 996px ) {
35+ @media screen and (max-width : 996px ) {
3136 .resultsDisplay {
3237 height : auto;
3338 width : calc (100 vw-12px);
3439 overflow-y : auto;
3540 }
3641
42+ .navSection {
43+ min-height : 2.5rem ;
44+ height : auto;
45+ width : 100vw ;
46+ }
47+
3748 .resultsNav {
38- height : 3.5rem ;
49+ height : auto;
50+ flex-direction : column;
3951 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 ;
4159 }
4260}
You can’t perform that action at this time.
0 commit comments