Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

mdInput: Add support for rtl in transforms #964

Closed
EladBezalel opened this issue Dec 17, 2014 · 0 comments
Closed

mdInput: Add support for rtl in transforms #964

EladBezalel opened this issue Dec 17, 2014 · 0 comments
Assignees
Labels
i18n: bi-directional This issue is related to internationalization and right to left languages
Milestone

Comments

@EladBezalel
Copy link
Member

At least in md-text-float
as you can see here:
http://embed.plnkr.co/JhgsUXL30mnA2TfLigy0/

the problem is in here:

.md-input-group label {
    transform: translate3d(0, 4px, 0) scale(0.75);
}

as you can see the 75% scaling anchor point is left top
the solution seems to be:

.md-input-group label {
    transform: translate3d(0, 4px, 0) scale(0.75);
    transform-origin: right top;
}

when using rtl.

@EladBezalel EladBezalel changed the title Add support for rtl in transforms mdInput: Add support for rtl in transforms Dec 25, 2014
@ThomasBurleson ThomasBurleson added the i18n: bi-directional This issue is related to internationalization and right to left languages label Jan 6, 2015
@ThomasBurleson ThomasBurleson added this to the 0.9.0 milestone Jan 6, 2015
@ThomasBurleson ThomasBurleson self-assigned this Feb 16, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
i18n: bi-directional This issue is related to internationalization and right to left languages
Projects
None yet
Development

No branches or pull requests

2 participants