Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

RTL support? #274

@HarelM

Description

@HarelM

I'm not sure if I'm configuring this incorrect of that this library doesn't support RTL content.
The following is my layout html:

<div fxLayout="row" fxLayoutAlign="space-between none">
        <div fxFlex="20">
            <md-slide-toggle [(ngModel)]="advanced"></md-slide-toggle>
        </div>
        <div fxFlex="60">
            <span (click)="advanced = !advanced"><i class="fa icon-gear"></i> {{resources.toggleAdvancedSettings}}</span>
        </div>
        <div fxFlex>
            <div fxLayout="col" fxLayoutAlign="start end">
                <span class="cursor-pointer" (click)="closeSidebar()"><i class="fa fa-lg icon-close"></i></span>
            </div>
        </div>
    </div>

What I want to accomplish is close to the following:
image
Only the "X" in the image should be aligned to the end, which in RTL case is left instead of right.
I'm using angular 4 with [dir]="rtl" directive so I was hoping this is in sync with angular's RTL support...

Metadata

Metadata

Assignees

No one assigned

    Labels

    P5Low-priority issue that needs considerationenhancementhas prA PR has been created to address this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions