Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(list-header): RTL fix for list-header #11328

Merged
merged 1 commit into from Apr 24, 2017

Conversation

sijav
Copy link
Contributor

@sijav sijav commented Apr 23, 2017

Short description of what this resolves:

RTL fix (scss changes) for list-header for wp, ios and android platform

Changes proposed in this pull request:

  • Add RTL rule for list-header
    Ionic Version: 2.x / 3.x

Fixes: #11211

RTL fix (scss changes) for list-header for wp, ios and android platform
@manucorporat
Copy link
Contributor

Would you mind adding a before / after screenshot?

@AmitMY
Copy link
Contributor

AmitMY commented Apr 23, 2017

@manucorporat
before
image

after
image

@@ -182,6 +182,10 @@ $list-ios-header-background-color: transparent !default;
background: $list-ios-header-background-color;
}

[dir="rtl"] .list-header-ios {
padding-right: $list-ios-header-padding-left;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe renaming the css variable to $list-ios-header-padding-start?
thoughts @AmitMY @brandyscarney

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@manucorporat
@sijav and I had this discussion before.
Changing it to start will require support for left. which is possible and awesome, but should imo be a different PR, changing all relevant variables to start/end and adding the correct depredations, so in v4 can have a clean variables naming

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AmitMY fair enough, LGTM

@manucorporat
Copy link
Contributor

BTW, thanks everybody involved in these awesome RTL fixes. I am so happy we can finally support this, and 100% driven by the community!!

@brandyscarney brandyscarney merged commit e31a4da into ionic-team:master Apr 24, 2017
@brandyscarney
Copy link
Member

Thank you again! Great work. 😄

@sijav sijav deleted the rtl-fix-list branch April 25, 2017 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants