Skip to content

Commit 8864b70

Browse files
committed
Merge branch 'dev' into feature/garrett
2 parents cd86f25 + 2b0aec0 commit 8864b70

File tree

1 file changed

+17
-9
lines changed

1 file changed

+17
-9
lines changed

src/app/components/Actions/RouteDescription.tsx

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,24 @@ const RouteDescription = (props: RouteProps): JSX.Element => {
1616
const url: URL = new URL(actions[0].props.routePath); // Use new URL to use the url.pathname method.
1717

1818
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>
2736
</div>
28-
</div>
2937
);
3038
};
3139

0 commit comments

Comments
 (0)