mirror of
				https://github.com/scinote-eln/scinote-web.git
				synced 2025-10-31 16:49:40 +08:00 
			
		
		
		
	move tooltip to the right [fixes SCI-591]
This commit is contained in:
		
							parent
							
								
									d255e12f90
								
							
						
					
					
						commit
						f9fb4d8bd6
					
				
					 1 changed files with 16 additions and 15 deletions
				
			
		|  | @ -1368,23 +1368,24 @@ html.turbolinks-progress-bar::before { | |||
| } | ||||
| 
 | ||||
| .modal-tooltip { | ||||
|   cursor: help; | ||||
|   position: relative; | ||||
|   display: inline-block; | ||||
|   border-bottom: 1px dotted $color-alto; | ||||
| } | ||||
| 
 | ||||
| .modal-tooltip .modal-tooltiptext { | ||||
|   visibility: hidden; | ||||
|   display: block; | ||||
|   width: auto; | ||||
|   background-color: $color-alto; | ||||
|   color: $color-mine-shaft; | ||||
|   text-align: center; | ||||
|   padding: 5px; | ||||
|   border-radius: 6px; | ||||
|   cursor: help; | ||||
|   display: inline-block; | ||||
|   position: absolute; | ||||
|   z-index: $infinity; | ||||
| 
 | ||||
|   .modal-tooltiptext { | ||||
|     background-color: $color-alto; | ||||
|     border-radius: 6px; | ||||
|     color: $color-mine-shaft; | ||||
|     display: block; | ||||
|     margin-left: 100px; | ||||
|     padding: 5px; | ||||
|     position: relative; | ||||
|     text-align: center; | ||||
|     visibility: hidden; | ||||
|     width: 200px; | ||||
|     z-index: $infinity; | ||||
|   } | ||||
| } | ||||
| 
 | ||||
| .modal-tooltip:hover .modal-tooltiptext { | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue