From 9e91b90752a7638930de7d86c73f67049c376342 Mon Sep 17 00:00:00 2001 From: invalid w Date: Thu, 1 Aug 2024 09:51:59 +0800 Subject: [PATCH] chore(notification): add overflow hidden for notification wrap style (#2804) * chore(notification): add overflow hidden for notification wrap * chore: add change log --- .changeset/five-mails-beg.md | 5 +++++ packages/ui/notification/src/styles/notification.scss | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/five-mails-beg.md diff --git a/.changeset/five-mails-beg.md b/.changeset/five-mails-beg.md new file mode 100644 index 000000000..dec8fc461 --- /dev/null +++ b/.changeset/five-mails-beg.md @@ -0,0 +1,5 @@ +--- +"@hi-ui/notification": patch +--- + +调整通知组件过度样式触发滚动条 diff --git a/packages/ui/notification/src/styles/notification.scss b/packages/ui/notification/src/styles/notification.scss index 332d8e5a0..a62049682 100644 --- a/packages/ui/notification/src/styles/notification.scss +++ b/packages/ui/notification/src/styles/notification.scss @@ -4,6 +4,7 @@ $prefix: '#{$component-prefix}-notification' !default; .#{$prefix}-manager { margin-top: 6px; + overflow-x: hidden; overflow-y: auto; bottom: 0; }