mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:12:44 +00:00 
			
		
		
		
	 a8587fe54e
			
		
	
	
		a8587fe54e
		
	
	
	
	
		
			
			Adds support for place-items property which allows to specify both align-items and justify-items in a single declaration.
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			374 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			374 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2023, Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #include "PlaceItemsStyleValue.h"
 | |
| 
 | |
| namespace Web::CSS {
 | |
| 
 | |
| ErrorOr<String> PlaceItemsStyleValue::to_string() const
 | |
| {
 | |
|     return String::formatted("{} {}", TRY(m_properties.align_items->to_string()), TRY(m_properties.justify_items->to_string()));
 | |
| }
 | |
| 
 | |
| }
 |