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
This commit is contained in:
lzt404 committed 2026-08-26 01:56:46 +08:00
1 parent 1df1f7808f
commit 8224b57eeb
1 file changed
+6 -6
+6 -6
View File
@@ -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 {