mirror of
				https://codeberg.org/claui/mobile-config-firefox.git
				synced 2025-11-04 04:25:55 +00:00 
			
		
		
		
	Add different rules for Firefox below 66
This commit is contained in:
		
							parent
							
								
									9f55296408
								
							
						
					
					
						commit
						9e1c02f7be
					
				
					 1 changed files with 18 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -2,16 +2,28 @@
 | 
			
		|||
 | 
			
		||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 | 
			
		||||
@-moz-document url("about:addons"){
 | 
			
		||||
  #addon-list{
 | 
			
		||||
    display: grid;
 | 
			
		||||
    grid-template-areas: "a a";
 | 
			
		||||
    grid-template-columns: 1fr 1fr;
 | 
			
		||||
		grid-auto-rows: min-content;
 | 
			
		||||
	/* Test for Firefox > 66 */
 | 
			
		||||
	@supports (inset-block:auto){
 | 
			
		||||
    #addon-list{
 | 
			
		||||
      display: grid;
 | 
			
		||||
      grid-template-areas: "a a";
 | 
			
		||||
      grid-template-columns: 1fr 1fr;
 | 
			
		||||
		  grid-auto-rows: min-content;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
	/* Test for Firefox < 66 */
 | 
			
		||||
	@supports not (inset-block:auto){
 | 
			
		||||
    #addon-list > scrollbox > .scrollbox-innerbox{
 | 
			
		||||
      display: grid;
 | 
			
		||||
      grid-template-areas: "a a";
 | 
			
		||||
      grid-template-columns: 1fr 1fr;
 | 
			
		||||
      grid-auto-rows: min-content;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  .control-container{ display: flex; }
 | 
			
		||||
  .addon-control{ margin: 3px }
 | 
			
		||||
  .addon.card{ padding-bottom: 0px !important; padding-top: 0px !important }
 | 
			
		||||
  .addon.card > .content-container { display: flex;  }
 | 
			
		||||
  .addon.card > .content-container { display: flex; }
 | 
			
		||||
  .content-inner-container{ flex-grow: 1; }
 | 
			
		||||
  .content-inner-container > hbox{ display: block }
 | 
			
		||||
  .icon{ min-width: 24px }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue