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
feat(rtl): right-to-left batch 1 - FRONT-3565 #2358
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice, good result already with only little extra css!
I just noticed 2 small things:
For the inpage, active background/border should be reversed too, but it may already be too much detail..
for tabs, the spacing of the icon on the more button should be corrected, to see if this will be taken into account in another batch with the js fixes?
@@ -190,7 +190,7 @@ export class Tabs { | |||
newOffset = maxScroll; | |||
} | |||
this.list.style.transitionDuration = '0.4s'; | |||
this.list.style.transform = `translate3d(-${newOffset}px, 0px, 0px)`; | |||
this.list.style.transform = `translate3d(${newOffset}px, 0px, 0px)`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this breaks the navigation for the non-rtl tabs in mobile, the pagination is in reverse, I won't apply this change now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, I did it for testing and forgot to remove... I'll update
I updated the inpage nav, to have something working well in both cases, and reverted the wrong js update. |
Notes