Change the width of ionic popup

css, html, ionic-framework, popup

Solution

you can add style.css,like this.

<link href="lib/ionic/css/ionic.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">

you need modify the popup width.

style.css

/**
 * Popups
 * --------------------------------------------------
 */
  .popup-container .popup {
    width: 350px;
 }

want to help you.

Problem

i want to change the width of a specifique popup in my ionic project without making an impact on the others. ``` var alertPopup = $ionicPopup.alert({ cssClass: 'popupg', title: coe, template: text }); ```

Original source