File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
layouts/layout-pages/app-layout
shared/components/fxdonad-shared/box-chat-ai Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 2525 width : 70vw ;
2626 display : flex ;
2727 justify-content : end ;
28- z-index : 3 ;
2928 // Bỏ sự kiện cho toàn container
3029 pointer-events : none ;
3130
3231 .chat-box {
3332 pointer-events : auto ; // Chỉ phần này thao tác được
33+ z-index : 3 ;
3434 }
3535 }
3636 }
Original file line number Diff line number Diff line change 1+ :host {
2+ position : absolute ;
3+ bottom : 3px ;
4+ right : 3px ;
5+ width : 70vw ;
6+ display : flex ;
7+ justify-content : end ;
8+ z-index : 3 ;
9+
10+ // Host mặc định click xuyên qua
11+ pointer-events : none ;
12+ }
13+
114.chat-box {
215 max-width : fit-content ;
316 display : flex ;
821 transition : all 0.3s ease ;
922 position : relative ;
1023 border-radius : 12px ;
11-
24+ pointer-events : auto ; // chỉ cho phép thao tác trong vùng chat-box
1225 & :not (.expanded ) {
1326 // sau 3s mới mờ dần
1427 transition : opacity 0.3s ease 3s ;
You can’t perform that action at this time.
0 commit comments