Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Title displayed differently on Android and iOS

$
0
0

@antoxann wrote:

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?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



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