Skip to content

Ion-grid text centering incorrect on iPhone X landscape mode #13320

@EWBears

Description

@EWBears

Ionic version: (check one with "x")
[ ] 2.x
[X] 3.x
[ ] 4.x

I'm submitting a ... (check one with "x")
[X] bug report
[ ] feature request

Current behavior:
Text inside ion-grid cells have more padding on the right side than the left (see screenshots)

Expected behavior:
Text should be centered in each cell

Steps to reproduce:
Create an ion-grid with text in each cell and run on iPhone X simulator

Related code:
N/A

Other information:
Just wanted to add a thank you note for work on the framework and the fast support for iPhone X! Thanks!

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

cli packages:

    @ionic/cli-utils  : 1.14.0
    ionic (Ionic CLI) : 3.14.0

global packages:

    cordova (Cordova CLI) : 7.0.1 

local packages:

    @ionic/app-scripts : 3.0.1
    Cordova Platforms  : android 6.3.0 ios 4.5.1
    Ionic Framework    : ionic-angular 3.8.0

System:

    Android SDK Tools : 26.0.2
    ios-deploy        : 1.9.2 
    Node              : v8.6.0
    npm               : 5.5.1 
    OS                : macOS Sierra
    Xcode             : Xcode 9.0 Build version 9A235 

Misc:

    backend : legacy

simulator screen shot - iphone x - 2017-11-02 at 21 43 05

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions