mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:02:44 +00:00 
			
		
		
		
	 dbafb11a7e
			
		
	
	
		dbafb11a7e
		
	
	
	
	
		
			
			This change brings calculate_minimum_contribution() for grid items and supporting functions.
		
			
				
	
	
		
			22 lines
		
	
	
		
			No EOL
		
	
	
		
			431 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			No EOL
		
	
	
		
			431 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <style>
 | |
| .grid {
 | |
|     float: left;
 | |
|     display: grid;
 | |
|     grid-template-columns: auto;
 | |
|     grid-template-rows: auto;
 | |
| }
 | |
| 
 | |
| .first {
 | |
|     background: pink;
 | |
|     border: 1px solid black;
 | |
|     min-width: 100px;
 | |
|     min-height: 100px;
 | |
| }
 | |
| 
 | |
| .second {
 | |
|     background: skyblue;
 | |
|     border: 1px solid black;
 | |
|     min-width: 100px;
 | |
|     min-height: 100px;
 | |
| }
 | |
| </style><div class="grid"><div class="first">first</div><div class="second">second</div></div> |