2016-10-01 83 views
5

我试图根据此示例添加ui.bootstrap.alert:https://plnkr.co/edit/?p=preview更改ui.bootstrap.alert的高度

它可以正常工作,除非它对我来说太大了。 enter image description here

所以我改变了CSS的高度,这里是新的输出

.alert { 
    margin-bottom: 1px; 
    height: 30px; 
} 

enter image description here 但现在的森泰斯不在警报的中间了。

如何正确更改警报的高度?谢谢!

+1

变化'线height'至30为好。 – Marwelln

+0

plunker链接不好 –

回答