forked from mirrors/gecko-dev
		
	 0b7ab691d4
			
		
	
	
		0b7ab691d4
		
	
	
	
	
		
			
			- Moved "footer" to within sticky container above cards and renamed to "header". - Update "Connect another device" button to use the `.small-button` styling - Conditionally display `Recently closed tabs` `h2` on the corresponding view only (an existing bug revealed in this patch) - Update `.sticky-container` to reflect upcoming styling with the inclusion of search and other secondary headers. Please see link to bug for screenshot of intended appearance. Differential Revision: https://phabricator.services.mozilla.com/D193930
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			597 B
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			597 B
		
	
	
	
		
			CSS
		
	
	
	
	
	
| /* This Source Code Form is subject to the terms of the Mozilla Public
 | |
|  * License, v. 2.0. If a copy of the MPL was not distributed with this
 | |
|  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 | |
| 
 | |
| .view-opentabs-card-container {
 | |
|   display: grid;
 | |
|   gap: 1em;
 | |
| }
 | |
| 
 | |
| [card-count="one"] {
 | |
|   grid-template-columns: 1fr;
 | |
| }
 | |
| 
 | |
| [card-count="two"] {
 | |
|   grid-template-columns: repeat(2, 1fr);
 | |
| }
 | |
| 
 | |
| [card-count="three-or-more"] {
 | |
|   grid-template-columns: repeat(3, 1fr);
 | |
| 
 | |
|   @media (max-width: 85rem) {
 | |
|     /* Switch to 2-column layout on narrow viewports */
 | |
|     grid-template-columns: repeat(2, 1fr);
 | |
|   }
 | |
| }
 |