Skip to content

Commit 3566580

Browse files
committed
fix reflow/ repaint issue on snapshots
1 parent 0f0b00e commit 3566580

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)