From 33f5ebf2debb9c29def643f6bb0fced490822db3 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 11 Apr 2023 18:34:44 -0700 Subject: [PATCH] Fix positioning of load more btn on web --- src/view/com/util/LoadLatestBtn.web.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/view/com/util/LoadLatestBtn.web.tsx b/src/view/com/util/LoadLatestBtn.web.tsx index f552dfeb77..c85f44f302 100644 --- a/src/view/com/util/LoadLatestBtn.web.tsx +++ b/src/view/com/util/LoadLatestBtn.web.tsx @@ -31,7 +31,9 @@ const styles = StyleSheet.create({ loadLatest: { flexDirection: 'row', position: 'absolute', - left: 'calc(50vw - 80px)', + left: '50vw', + // @ts-ignore web only -prf + transform: 'translateX(-50%)', top: 30, shadowColor: '#000', shadowOpacity: 0.2,