2016-10-01 85 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鏈接不好 –

回答