Use CSS Grid for the header container.
The elements still use flex for spacing simplicity.
This commit is contained in:
		
							parent
							
								
									f9524a1858
								
							
						
					
					
						commit
						e592b55fb1
					
				
					 1 changed files with 8 additions and 9 deletions
				
			
		|  | @ -24,18 +24,12 @@ li | ||||||
| } | } | ||||||
| #header | #header | ||||||
| { | { | ||||||
|     display: flex; |     display: grid; | ||||||
|     flex-direction: row; |     grid-template-columns: 1fr 1fr 1fr 1fr auto; | ||||||
|     justify-content: center; |     grid-template-rows: auto; | ||||||
|     align-content: center; |  | ||||||
| 
 | 
 | ||||||
|     margin-bottom: 4px; |     margin-bottom: 4px; | ||||||
| } | } | ||||||
| .editor_input |  | ||||||
| { |  | ||||||
|     width: 100%; |  | ||||||
|     max-width: 800px; |  | ||||||
| } |  | ||||||
| .header_element | .header_element | ||||||
| { | { | ||||||
|     display: flex; |     display: flex; | ||||||
|  | @ -48,6 +42,11 @@ li | ||||||
| { | { | ||||||
|     background-color: #ffffd4; |     background-color: #ffffd4; | ||||||
| } | } | ||||||
|  | .editor_input | ||||||
|  | { | ||||||
|  |     width: 100%; | ||||||
|  |     max-width: 800px; | ||||||
|  | } | ||||||
| .hidden | .hidden | ||||||
| { | { | ||||||
|     display: none !important; |     display: none !important; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue