Angular-material md-select切断了内容的背景到边缘?

时间:2015-05-12 17:25:38

标签: javascript css angularjs angular-material

我更新为angular-material 0.9,现在当我打开md-select时,它会切断背景到内容的边缘。有没有办法避免这种情况?

http://codepen.io/anon/pen/yNOypa

<div class="background">
<div layout="column" layout-align="center center" flex>
  <md-select placeholder="Pick">
    <md-option value="1">One</md-option>
    <md-option value="2">Two</md-option>
  </md-select>
    </div>
  <p>The background ends at the content when md-select is open</p>
</div>

1 个答案:

答案 0 :(得分:1)

尝试更改

 height:100%;

height:100vh;

类似的问题:Make div 100% height of browser window