Repository navigation
fix(button): rtl fix for md ripple effect - #11842
Conversation
…l-fix-button-md-effect
| @include position(0, null, null, 0); | ||
| // scss-lint:disable PropertySpelling | ||
| left: 0; | ||
| top: 0; |
There was a problem hiding this comment.
First, know that this won't pass linting, as the properties are above an @include
Because of the new changes, this needs to be inside a @include multi-dir() { which goes at the end of the selector. When that is done, it can be merged. (Didn't merge before as I knew there will be changes with multi-dir)
There was a problem hiding this comment.
Oh I get it now thanks. Will do
|
@AmitMY is it alright now? |
|
|
||
| @include multi-dir() { | ||
| top: 0; | ||
|
|
There was a problem hiding this comment.
Can you remove this empty line + move //scss-lint:disable... to the first row of the mixin? something like
@include multi-dir() {
// scss-lint:disable PropertySpelling
top: 0;
left: 0;
}
(because we don't won't to ignore it for the entire block)
There was a problem hiding this comment.
@AmitMY sure but css lint gave me error because I hadn't put empty line in between ... I think it was because I had order problems? I'll commit the new changes asap
There was a problem hiding this comment.
Oh sure, linter rules over me ;)
So just that disable comment if you can
|
@AmitMY With this commit I get this |
so final thing here, add an empty line there, and this seems good. Sorry for the messiness |
|
Looks great, thank you! |
Short description of what this resolves:
This will fix ripple effect on material design which were showing displaced of touch click.
Changes proposed in this pull request:
Ionic Version: 3.x
Fixes: #11211