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(select): RTL fix for select #11352

Closed
wants to merge 7 commits into from
Closed

Conversation

sijav
Copy link
Contributor

@sijav sijav commented Apr 25, 2017

Short description of what this resolves:

RTL fix for select component

Changes proposed in this pull request:

  • fix padding and margin for RTL on select component

Ionic Version: 2.x / 3.x

Fixes: #11351

Also there was .item-wp.item-select ion-label for windows platform and .select-md .item-select ion-label for android which I couldn't reproduce it, if anyone have any idea what is these rules for please let me know.
Thanks.

[dir="rtl"] .select-ios .select-icon .select-icon-inner {
right: 5px;
left: auto;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

the lint rules for ionic indicate a need for a new line at the end of the file.
You can run it locally, gulp lint.sass, but you need to install ruby for that

@AmitMY
Copy link
Contributor

AmitMY commented May 13, 2017

@sijav This looks good.
I will work on border separately, same as all of the other mixins, so there won't be a need to change it per selector.

Please don't close this one though, it is good to know what is missing and where :)

@sijav
Copy link
Contributor Author

sijav commented May 13, 2017

@AmitMY Yeah that was the purpose actually :D
Thanks a bunch.

Copy link
Member

@brandyscarney brandyscarney left a comment

Choose a reason for hiding this comment

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

Can you use the @include rtl mixin on this?

@AmitMY
Copy link
Contributor

AmitMY commented May 17, 2017

@brandyscarney No need - will be fixed in a global PR for border property, after the transform one

@sijav sijav mentioned this pull request Jun 13, 2017
11 tasks
@sijav sijav closed this Sep 13, 2017
@sijav sijav deleted the rtl-fix-select branch September 13, 2017 07:49
@sijav sijav restored the rtl-fix-select branch September 13, 2017 07:53
@sijav sijav deleted the rtl-fix-select branch September 13, 2017 07:54
@sijav sijav restored the rtl-fix-select branch September 13, 2017 07:54
@sijav sijav deleted the rtl-fix-select branch September 13, 2017 07:55
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.

3 participants