Opening mat-expansion panel is moving the opposite column, how to keep it still?

前端 未结 1 1477
一生所求
一生所求 2020-12-22 04:42

In my project I have two columns, each with their own mat-accordion which holds some mat-expansion panels.

When I click to open any one of the expansion panel

相关标签:
1条回答
  • 2020-12-22 05:34

    Just like I guessed. You're row content is being align to the center. Change the align-items to for example flex-start to align the row content to the top of the row.

    .row {
        ...
        align-items: flex-start;      
    }
    
    0 讨论(0)
提交回复
热议问题