Improve usability
This commit is contained in:
		
							parent
							
								
									d3e764d7f9
								
							
						
					
					
						commit
						666c8c0498
					
				
					 2 changed files with 11 additions and 0 deletions
				
			
		|  | @ -180,6 +180,14 @@ export default defineComponent({ | |||
| 
 | ||||
| 			&.api { | ||||
| 				> div { | ||||
| 					&:not(.header) { | ||||
| 						cursor: pointer; | ||||
| 
 | ||||
| 						&:hover { | ||||
| 							color: var(--accent); | ||||
| 						} | ||||
| 					} | ||||
| 
 | ||||
| 					> .state { | ||||
| 						&.pending { | ||||
| 							color: var(--warn); | ||||
|  |  | |||
|  | @ -119,6 +119,9 @@ export default defineComponent({ | |||
| 			z: Number(document.defaultView.getComputedStyle(this.$el, null).zIndex) | ||||
| 		}); | ||||
| 
 | ||||
| 		// 他のウィンドウ内のボタンなどを押してこのウィンドウが開かれた場合、親が最前面になろうとするのでそれに隠されないようにする | ||||
| 		this.top(); | ||||
| 
 | ||||
| 		window.addEventListener('resize', this.onBrowserResize); | ||||
| 	}, | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue