shuashuai commented on PR #965:
URL: https://github.com/apache/incubator-answer/pull/965#issuecomment-2146433651

   Sorry I didn't think it all through last week, and the problem has been on 
bootstrap for a long time without a good solution, see 
[here](https://github.com/twbs/bootstrap/issues/35202)
   
   We discussed this issue yesterday, and realized that globally overriding 
bootstrap variables causes a problem when the tooltip is used in a modal, the 
tooltip will be obscured. So in order to reduce the scope of influence, we 
decided to only increase the modal's z-index when the login dialog box appears.
   
   It's more like your first program.
   1. create `login.scss` under the ui/src/components/Modal folder, and import 
in `LoignToContinueModal.tsxt` file
   2. `login.scss` content
   ```
   .modal-backdrop  {
     z-index: 1081;
   }
   
   .loginToContinueModal.show {
     z-index: 1082;
   }
   
   ```
   `LoignToContinueModal.tsxt` add className attribute
   
   
![image](https://github.com/apache/incubator-answer/assets/30591202/23b921fd-10b9-49c0-89a4-d9a571849d89)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to