Skip to content

Commit 2b0aec0

Browse files
authored
Merge pull request #9 from oslabs-beta/PatriceFeature
fix reflow/ repaint issue on snapshots
2 parents 98498ab + 3566580 commit 2b0aec0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app/components/Actions/RouteDescription.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ const RouteDescription = (props: RouteProps): JSX.Element => {
2525
height: `${actions.length * 30}px`,
2626
marginBottom: '50px'
2727
}}>
28-
<VerticalSlider className='main-slider' snapshots={actions} />
28+
<div style={{maxWidth: '50px'}}>
29+
<VerticalSlider className='main-slider' snapshots={actions} />
30+
</div>
2931
<div style={{marginTop: '10px'}}>
3032
{/* actual snapshots per route */}
3133
{actions}

0 commit comments

Comments
 (0)