aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-07-15 16:46:44 -0400
committerGitHub <noreply@github.com>2021-07-15 16:46:44 -0400
commit4fe0ec166f355eb4c0b279f8790c7e61ff6c1243 (patch)
tree01a704c5d438b257fa2300c00e72ef8c41d5d5b2
parentd7e5fa1ac7728290d1f1fc51b984dc40b1feb323 (diff)
parente4a5c5ab155fd270ef3fad0c3579d8214ac4af78 (diff)
Merge pull request #509 from IvanIFChen/tma981-bugfix-notification-pill-position
[TMA-981] [BUGFIX] Notification Pill Position
-rw-r--r--src/components/notifications/NotificationPill.tsx2
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;