我正在使用AngularJS和Bootstrap,有以下结构:
<parent-div>
<flexible-width-component
class="pull-left"
style="display: inline-block; min-width: 700px;">Data grid with many columns
</flexible-width-component>
<fixed-width-component
class="pull-right"
style="width:400px; display: inline-block">
</fixed-width-component>
</parent-div>
我希望我的
flexible-width-component
能够自动填充与 fixed-width-component
之间的空隙,适用于任何宽度大于 1200px
的分辨率。两个组件需要相邻显示。非常感谢您提供的任何建议!