Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Title displayed differently on Android and iOS

$
0
0

Code of my bar:

<ion-nav-title>
        <div class="title page-title" >
            <div class="title text-center ">Title</div>
        </div>
</ion-nav-title>

<ion-nav-buttons side="right">
    <button  class="button button-icon ion-android-close" style="color: #33cd5f" ng-click="someFunction()"></button>
</ion-nav-buttons>

So, it looks like on screen:

So, in Android Title is moved to the left. But in iOS its ok.
It
s automatically added some differents styles, when i look on it in chrome:
iOS:


Android:

I dont know how this styles added and why they are different.
How can i fix it?

Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>