feat(ai): refine voice input layout and cancellation
This commit is contained in:
@@ -209,6 +209,13 @@ onUnmounted(() => {
|
||||
// 文档预览里的过渡组件就是用来验证转场的,因此在预览范围内恢复原定时长。
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.tui-demo {
|
||||
// 语音输入的呼吸边框是交互反馈的一部分,预览中恢复动画
|
||||
:deep(.composer.voice-active .form::after) {
|
||||
animation-delay: 0s !important;
|
||||
animation-duration: 1.6s !important;
|
||||
animation-iteration-count: infinite !important;
|
||||
}
|
||||
|
||||
:deep(.page-transition .push-left-enter-active) {
|
||||
transition-duration: 520ms, 200ms !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user