From 0ed8eebe9cbe1a88017ab886265a9f02db6c5592 Mon Sep 17 00:00:00 2001 From: Cano1997 <1978141412@qq.com> Date: Fri, 8 Mar 2024 16:48:29 +0800 Subject: [PATCH 1/3] =?UTF-8?q?style:=20=E7=94=A8=E6=88=B7=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E6=B6=88=E6=81=AF=E5=BC=B9=E6=A1=86=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/panel-component/user-message/user-message.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/panel-component/user-message/user-message.scss b/src/panel-component/user-message/user-message.scss index 12a5595fa..5022d7ab4 100644 --- a/src/panel-component/user-message/user-message.scss +++ b/src/panel-component/user-message/user-message.scss @@ -75,8 +75,19 @@ $user-message: ( @include b(user-message-notice) { padding: getCssVar(spacing, tight); + padding-right: getCssVar(spacing, base, loose); .el-notification__group{ + max-width: 100%; margin: 0; } + + .notice-card__content { + width: calc(100% - 46px); + } + + .notice-card__object-name { + max-width: 100% !important; + white-space: normal !important; + } } \ No newline at end of file -- Gitee From 9a7a87f8642821e694768513fea5c1086d413ad6 Mon Sep 17 00:00:00 2001 From: Cano1997 <1978141412@qq.com> Date: Fri, 8 Mar 2024 16:48:51 +0800 Subject: [PATCH 2/3] =?UTF-8?q?feat:=20=E9=97=A8=E6=88=B7=E5=BF=AB?= =?UTF-8?q?=E6=8D=B7=E8=8F=9C=E5=8D=95=E9=A1=B9=E7=BB=98=E5=88=B6=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../menu-portlet/app-menu-portlet/app-menu-portlet.scss | 5 ++++- .../menu-portlet/app-menu-portlet/app-menu-portlet.tsx | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.scss b/src/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.scss index 54bd196ae..910f6592d 100644 --- a/src/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.scss +++ b/src/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.scss @@ -9,8 +9,9 @@ $control-appmenu-portlet: ('icon-width': 20px, @include set-component-css-var('control-appmenu-portlet', $control-appmenu-portlet); @include e(content) { + display: flex; + flex-wrap: wrap; width: 100%; - height: 100%; } } @@ -39,6 +40,8 @@ $control-appmenu-portlet: ('icon-width': 20px, } @include b(control-appmenu-portlet-group) { + width: 100%; + .el-collapse-item__content { display: flex; flex-wrap: wrap; diff --git a/src/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.tsx b/src/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.tsx index 35ae6bc43..fe1889062 100644 --- a/src/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.tsx +++ b/src/control/dashboard/portlet/menu-portlet/app-menu-portlet/app-menu-portlet.tsx @@ -67,6 +67,9 @@ export const AppMenuPortletControl = defineComponent({ if (!state.visible) { return null; } + if (!item.appMenuItems) { + return renderItem(item); + } return ( Date: Fri, 8 Mar 2024 16:49:02 +0800 Subject: [PATCH 3/3] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee250ce4e..fabe75a82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ ### Changed - 看板项样式调整 +- 用户消息弹框样式调整 +- 门户快捷菜单项绘制调整 ### Fixed -- Gitee