我想在我的离子项目中更改特定弹出窗口的宽度,而不影响其他项目。
var alertPopup = $ionicPopup.alert({
cssClass: 'popupg',
title: coe,
template: text
});
您可以像这样添加style.css。
<link href="lib/ionic/css/ionic.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
您需要修改弹出窗口的宽度。
style.css
/**
* Popups
* --------------------------------------------------
*/
.popup-container .popup {
width: 350px;
}
希望对您有所帮助。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句