我在使用 Angular Flex Layout 时遇到了对齐问题。
以下代码段未将 <md-icon>
对齐到标题的右侧,这是我想要的效果。
如何解决此问题?
<div class="flex-item" fxFlex fxFlexAlign="end end">
<md-card style="background-color:white;">
<md-card-header style="background-color:white;">
<md-card-title>Swap Card</md-card-title>
<div class="flex-item" fxFlex fxFlexAlign="end end">
<md-icon>add_a_photo</md-icon>
Icon
</div>
</md-card-header>
<md-card-content>
</md-card-content>
</md-card>