mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 12:14:11 +00:00 
			
		
		
		
	Adapt form to small screens
This commit is contained in:
		@@ -102,6 +102,11 @@ class _PostCreateFormWidgetState extends State<PostCreateFormWidget> {
 | 
			
		||||
            mainAxisAlignment: MainAxisAlignment.spaceBetween,
 | 
			
		||||
            children: <Widget>[
 | 
			
		||||
              // Text post button
 | 
			
		||||
              Expanded(
 | 
			
		||||
                child: SingleChildScrollView(
 | 
			
		||||
                  scrollDirection: Axis.horizontal,
 | 
			
		||||
                  child: Row(
 | 
			
		||||
                    children: <Widget>[
 | 
			
		||||
                      _PostOptionWidget(
 | 
			
		||||
                          icon: Icons.text_format,
 | 
			
		||||
                          selected: postKind == PostKind.TEXT,
 | 
			
		||||
@@ -127,9 +132,9 @@ class _PostCreateFormWidgetState extends State<PostCreateFormWidget> {
 | 
			
		||||
                        selected: postKind == PostKind.COUNTDOWN,
 | 
			
		||||
                        onTap: _pickCountdownTime,
 | 
			
		||||
                      ),
 | 
			
		||||
 | 
			
		||||
              Expanded(
 | 
			
		||||
                child: Container(),
 | 
			
		||||
                    ],
 | 
			
		||||
                  ),
 | 
			
		||||
                ),
 | 
			
		||||
              ),
 | 
			
		||||
 | 
			
		||||
              // Post visibility level
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user