From 8224b57eeb313e0dcfe162a2c77d633d701447f6 Mon Sep 17 00:00:00 2001 From: lzt404 <2596933790@qq.com> Date: Tue, 25 Aug 2026 17:28:45 +0800 Subject: [PATCH] fix: prevent source switch notifications from being truncated - increase the toast width for longer messages - allow notification content to wrap across multiple lines - replace the fixed height with responsive sizing --- src/styles.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/styles.css b/src/styles.css index 89bb3ac..b567b83 100644 --- a/src/styles.css +++ b/src/styles.css @@ -2935,9 +2935,9 @@ textarea:focus-visible { grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: 9px; - width: min(360px, calc(100vw - 48px)); - height: 46px; - padding: 0 14px; + width: min(440px, calc(100vw - 48px)); + min-height: 46px; + padding: 11px 14px; border: 1px solid var(--theme-b6d3bd); border-radius: 7px; background: var(--theme-eef7f0); @@ -2959,11 +2959,11 @@ textarea:focus-visible { .config-toast span { min-width: 0; - overflow: hidden; font-size: var(--font-size-body); font-weight: 700; - text-overflow: ellipsis; - white-space: nowrap; + line-height: var(--line-height-body); + overflow-wrap: anywhere; + white-space: normal; } .management-header {