【发布时间】:2016-12-29 03:33:39
【问题描述】:
我有以下代码
<md-input-container style="margin-right: 10px;width: 13%;" class="ScenarioDetailsDropdown" >
<h4 class="LabelsPageOne">Geography Type</h4>
<md-select ng-model="GeographyType" ng-change="SelectGeographyType()" >
<md-option ng-repeat="(index,ModelTableRow) in ModelTable | unique:'geographyType'" ng-value="ModelTableRow.geographyType" >{{ModelTableRow.geographyType}}</md-option>
</md-select>
</md-input-container>
如何降低选择框的高度? 另外,如何减少 md-input-container 中的顶部填充? 我试过用这个:
<md-input-container style="margin-right: 10px;width: 13%;" class="ScenarioDetailsDropdown" style="padding : 0px 0px !important;margin:0px 0px;" >
但是,它不起作用。 你能帮我做这个吗? 谢谢!
【问题讨论】:
标签: angularjs angularjs-material