Skip to content

Commit

Permalink
fix: image zoom scroll (#1038)
Browse files Browse the repository at this point in the history
  • Loading branch information
amanharwara authored May 23, 2022
1 parent ce39fe5 commit 509bd50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/Components/Files/ImagePreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const ImagePreview: FunctionComponent<Props> = ({ objectUrl }) => {
}
: {
position: 'absolute',
inset: 0,
top: 0,
margin: 'auto',
}),
}}
Expand Down

0 comments on commit 509bd50

Please sign in to comment.