Skip to content

Commit

Permalink
Fix crash when scrolling down on the web (#1684)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored Oct 12, 2023
1 parent 9979185 commit 4431cfe
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/view/com/util/load-latest/LoadLatestBtn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,12 @@ const styles = StyleSheet.create({
loadLatestTablet: {
// @ts-ignore web only
left: '50vw',
// @ts-ignore web only -prf
transform: 'translateX(-282px)',
transform: [{translateX: -282}],
},
loadLatestDesktop: {
// @ts-ignore web only
left: '50vw',
// @ts-ignore web only -prf
transform: 'translateX(-382px)',
transform: [{translateX: -382}],
},
indicator: {
position: 'absolute',
Expand Down

0 comments on commit 4431cfe

Please sign in to comment.