Skip to content

Commit

Permalink
fix(notification): 修改NotificationPlugin的offset属性默认值,使其更符合常规习惯
Browse files Browse the repository at this point in the history
  • Loading branch information
huangchen1031 committed Nov 26, 2024
1 parent d1fde90 commit d761e1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/notification/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ let pluginDefaultConfig: NotificationOptions = {
...notificationDefaultProps,
zIndex: 6000,
placement: 'top-right',
offset: ['16px', '16px'],
offset: ['-16px', '16px'],
};

export const getConfig = (options: NotificationOptions): NotificationOptions => {
Expand Down

0 comments on commit d761e1f

Please sign in to comment.