I am using <ion-col>
attribute at a lot of places in my project… Earlier with ionic 2, it worked fine… Then I upgraded to ionic 3 and this attribute changed… Now it takes a lot more width and it changed my overall design, Please refer to the images
Earlier it was :
Now it is :
The code of the above line is :
<ion-item tappable>
<ion-grid>
<ion-row>
<ion-col width-20>
<div class="icon-profile">
<ion-icon name="person" class="white-text"></ion-icon>
</div>
</ion-col>
<ion-col width-60>
<div style="font-size:1.6rem;font-weight:bold;"> Personal Information </div>
<div style="font-size:1.4rem" *ngIf="userDetails.userFullName!='' "> {{userDetails.userFullName}}, {{userDetails.userPhoneNumber }}</div>
<div style="font-size:1.4rem;color:red;" *ngIf="userDetails.userFullName =='' ">Update Your Details</div>
</ion-col>
<ion-col width-20 style="text-align: right;">
<div class="icon-track-call" style="text-align:right">
<ion-icon name="arrow-dropright" class="dullcolor"></ion-icon>
</div>
</ion-col>
</ion-row>
</ion-grid>
</ion-item>
So basically wherever I used ion-col, things have changed there now… Earlier I was on ionic 2.0.0… Please help me out…