From 8227a5fa48c4370ba7ce653506956112bf5377e3 Mon Sep 17 00:00:00 2001 From: smail Date: Sun, 27 Sep 2026 20:15:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=85=E4=B8=AD=E9=80=9A=E7=9F=A5=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E8=A1=A8=E6=A0=BC=E5=B9=B6=E4=BC=98=E5=8C=96=E9=95=BF?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SystemNotification/SystemNotification.css | 34 +++++++++++++++++-- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/components/SystemNotification/SystemNotification.css b/frontend/src/views/components/SystemNotification/SystemNotification.css index 8165d37e..7109130b 100644 --- a/frontend/src/views/components/SystemNotification/SystemNotification.css +++ b/frontend/src/views/components/SystemNotification/SystemNotification.css @@ -55,6 +55,22 @@ user-select: all; } +.notification-detail-panel :deep(.el-descriptions__cell) { + text-align: center; + vertical-align: middle; + word-break: normal; +} + +.notification-detail-panel .notification-hint { + text-align: center; +} + +.notification-service-column code { + font-family: inherit; + font-size: inherit; + word-break: normal; +} + .notification-panel .el-pagination, .notification-secret { margin-top: 16px; @@ -182,9 +198,9 @@ .notification-personal-panel .notification-columns { display: grid; - grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.3fr); + grid-template-columns: minmax(300px, 1fr) minmax(0, 1.2fr); grid-template-rows: auto 1fr; - gap: 22px 32px; + gap: 22px 24px; align-items: start; } @@ -246,7 +262,7 @@ } .notification-personal-panel :deep(.el-descriptions__content) { - padding-left: 12px !important; + padding-inline: 8px !important; } .notification-personal-panel :deep(.el-descriptions__body) { @@ -721,7 +737,15 @@ min-width: 0; } +.notification-settings:has(> .notification-manager-panel) > .notification-detail-panel .notification-service-column :deep(.el-descriptions__body > table > tbody > tr:first-child), +.notification-settings:has(> .notification-manager-panel) > .notification-detail-panel .notification-service-column :deep(.el-descriptions__body > table > tbody > tr:nth-child(n + 4)) { + grid-column: 1 / -1; +} + .notification-settings:has(> .notification-manager-panel) > .notification-detail-panel .notification-service-column :deep(.el-descriptions__body > table > tbody > tr > td) { + display: flex; + align-items: center; + justify-content: center; min-width: 0; overflow-wrap: anywhere; } @@ -802,6 +826,10 @@ display: table-row; } + .notification-settings:has(> .notification-manager-panel) > .notification-detail-panel .notification-service-column :deep(.el-descriptions__body > table > tbody > tr > td) { + display: table-cell; + } + .notification-settings:has(> .notification-manager-panel) > .notification-detail-panel .notification-send-only-alert { grid-column: auto; }