5
我试图根据此示例添加ui.bootstrap.alert:https://plnkr.co/edit/?p=preview。更改ui.bootstrap.alert的高度
所以我改变了CSS的高度,这里是新的输出
.alert {
margin-bottom: 1px;
height: 30px;
}
如何正确更改警报的高度?谢谢!
我试图根据此示例添加ui.bootstrap.alert:https://plnkr.co/edit/?p=preview。更改ui.bootstrap.alert的高度
所以我改变了CSS的高度,这里是新的输出
.alert {
margin-bottom: 1px;
height: 30px;
}
如何正确更改警报的高度?谢谢!
您需要更改line-height
和padding
这个工作
.alert {
margin-bottom: 1px;
height: 30px;
line-height:30px;
padding:0px 15px;
}
很棒!谢谢! – Hanks
变化'线height'至30为好。 – Marwelln
plunker链接不好 –