better css
This commit is contained in:
		
							parent
							
								
									e3c4affb39
								
							
						
					
					
						commit
						a50fa7c601
					
				
					 1 changed files with 7 additions and 3 deletions
				
			
		|  | @ -42,7 +42,11 @@ | ||||||
|       } |       } | ||||||
| 
 | 
 | ||||||
|       #ingredients { |       #ingredients { | ||||||
|         max-width: 50ch; |         max-width: 30ch; | ||||||
|  |       } | ||||||
|  | 
 | ||||||
|  |       #ingredients ul { | ||||||
|  |         padding-left: 30px; | ||||||
|       } |       } | ||||||
| 
 | 
 | ||||||
|       #instructions { |       #instructions { | ||||||
|  | @ -52,12 +56,12 @@ | ||||||
|       @media (min-width: 650px) { |       @media (min-width: 650px) { | ||||||
|         #recipe { |         #recipe { | ||||||
|           max-width: 120ch; |           max-width: 120ch; | ||||||
|           grid-template-columns: 2fr 1fr; |           grid-template: | ||||||
|           grid-template-areas: |  | ||||||
|             "intro        ." |             "intro        ." | ||||||
|             "instructions ingredients"; |             "instructions ingredients"; | ||||||
|           column-gap: 20px; |           column-gap: 20px; | ||||||
|         } |         } | ||||||
|  | 
 | ||||||
|         #introduction { |         #introduction { | ||||||
|           grid-area: intro; |           grid-area: intro; | ||||||
|         } |         } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue