File tree Expand file tree Collapse file tree 1 file changed +17
-9
lines changed
src/app/components/Actions Expand file tree Collapse file tree 1 file changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,24 @@ const RouteDescription = (props: RouteProps): JSX.Element => {
16
16
const url : URL = new URL ( actions [ 0 ] . props . routePath ) ; // Use new URL to use the url.pathname method.
17
17
18
18
return (
19
- < div className = 'route-container' >
20
- < div className = 'route-header' > Route: { url . pathname } </ div >
21
- < div className = 'route-content' style = { { height : `${ actions . length * 30 } px` } } >
22
- < VerticalSlider className = 'main-slider' snapshots = { actions } />
23
- < div className = 'actions-container' >
24
- { /* actual snapshots per route */ }
25
- { actions }
26
- </ div >
19
+ < div className = 'routedescription' >
20
+ < h3 className = 'route' > Route: { url . pathname } </ h3 >
21
+ < div style = { {
22
+ // div that contains slider and snapshots
23
+ display : 'flex' ,
24
+ flexDirection : 'row' ,
25
+ height : `${ actions . length * 30 } px` ,
26
+ marginBottom : '50px'
27
+ } } >
28
+ < div style = { { maxWidth : '50px' } } >
29
+ < VerticalSlider className = 'main-slider' snapshots = { actions } />
30
+ </ div >
31
+ < div style = { { marginTop : '10px' } } >
32
+ { /* actual snapshots per route */ }
33
+ { actions }
34
+ </ div >
35
+ </ div >
27
36
</ div >
28
- </ div >
29
37
) ;
30
38
} ;
31
39
You can’t perform that action at this time.
0 commit comments