mirror of
				https://codeberg.org/claui/mobile-config-firefox.git
				synced 2025-11-04 04:25:55 +00:00 
			
		
		
		
	make proton compatible
This commit is contained in:
		
							parent
							
								
									ae4811a2fb
								
							
						
					
					
						commit
						62b72ed5c9
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -10,6 +10,8 @@ See the above repository for updates as well as full license text. */
 | 
			
		|||
/* Make selected tab unclickable so click goes to the capture box, obviously it can't be clicked at all anymore */
 | 
			
		||||
/* remove the :not([pinned]) bit to make clicking pinned tab AROUND the tab-icon focus urlbar*/
 | 
			
		||||
 | 
			
		||||
:root{ --tab-block-margin: var(--proton-tab-block-margin) }
 | 
			
		||||
 | 
			
		||||
.tabbrowser-tab:not([pinned])[selected]{ pointer-events: none }
 | 
			
		||||
 | 
			
		||||
/* Add back pointer-events to several elements so UI remains usable */
 | 
			
		||||
| 
						 | 
				
			
			@ -28,7 +30,7 @@ See the above repository for updates as well as full license text. */
 | 
			
		|||
  top: 0;
 | 
			
		||||
  left: 0;
 | 
			
		||||
  width: calc(100vw - 138px);
 | 
			
		||||
  height: var(--tab-min-height);
 | 
			
		||||
  height: calc(var(--tab-min-height) + 2*var(--tab-block-margin));
 | 
			
		||||
  content: "";
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue