缩短弹窗通知显示时间
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
- message: 卡片内容(支持 HTML)
|
||||
- icon: 左侧 Emoji 图标(可选,默认 💬)
|
||||
- color: 强调色 HEX(可选,默认 #336699)
|
||||
- duration: 自动消失毫秒数(可选,默认 6000;0 = 不自动消失)
|
||||
- duration: 自动消失毫秒数(可选,默认 3000;0 = 不自动消失)
|
||||
- action: { label, onClick } 可选操作按钮
|
||||
|
||||
使用示例:
|
||||
@@ -43,13 +43,14 @@
|
||||
right: 12px !important;
|
||||
bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
|
||||
left: 12px !important;
|
||||
align-items: stretch;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
#chat-toast-container .chat-toast-card {
|
||||
width: 100% !important;
|
||||
width: fit-content !important;
|
||||
min-width: 0 !important;
|
||||
max-width: none !important;
|
||||
max-width: min(320px, calc(100vw - 24px)) !important;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user