File tree Expand file tree Collapse file tree 1 file changed +11
-17
lines changed
src/app/components/Actions Expand file tree Collapse file tree 1 file changed +11
-17
lines changed Original file line number Diff line number Diff line change @@ -16,24 +16,18 @@ 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 = '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 >
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
+ < div style = { { maxWidth : '50px' } } >
23
+ < VerticalSlider className = 'main-slider' snapshots = { actions } />
24
+ </ div >
25
+ < div className = 'actions-container' >
26
+ { /* actual snapshots per route */ }
27
+ { actions }
28
+ </ div >
36
29
</ div >
30
+ </ div >
37
31
) ;
38
32
} ;
39
33
You can’t perform that action at this time.
0 commit comments