Unexpected empty space using flexbox

前端 未结 3 2025
悲哀的现实
悲哀的现实 2021-01-21 05:20

I\'ve reduced the problem to the minimum possible where the issue is still present.

I don\'t understand where the orange space is coming from.

3条回答
  •  面向向阳花
    2021-01-21 06:07

    I had similar problem in React Material-UI library. I got huge empty space below the TableContainer in this code:

                        
        
            
                    
                        //some cells
                    
                
                        //some rows
                
    //here I got huge empty unexpected space

    Then I add container keyword in Grid and empty space disappeared.

                        
        
            
                //the same code
            

提交回复
热议问题