diff options
author | Ivan Chen <ivan@tagg.id> | 2021-07-15 15:52:22 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-07-15 15:52:22 -0400 |
commit | e4a5c5ab155fd270ef3fad0c3579d8214ac4af78 (patch) | |
tree | 01a704c5d438b257fa2300c00e72ef8c41d5d5b2 /src/components/notifications/NotificationPill.tsx | |
parent | d7e5fa1ac7728290d1f1fc51b984dc40b1feb323 (diff) |
Adjust pill position
Diffstat (limited to 'src/components/notifications/NotificationPill.tsx')
-rw-r--r-- | src/components/notifications/NotificationPill.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/notifications/NotificationPill.tsx b/src/components/notifications/NotificationPill.tsx index 525cd7fa..3b42aadf 100644 --- a/src/components/notifications/NotificationPill.tsx +++ b/src/components/notifications/NotificationPill.tsx @@ -58,7 +58,7 @@ export const NotificationPill: React.FC<NotificationPillProps> = ({ __px: number, __py: number, ) => { - const x = SCREEN_WIDTH / 2 - width / 2; + const x = SCREEN_WIDTH * 0.7 - width / 2; const y = isIPhoneX() ? CHIN_HEIGHT + NAV_BAR_HEIGHT + navBarPos : NAV_BAR_HEIGHT + navBarPos; |