[ADF-4583] Upload dialog - RTL support (#4745)

* overwrite mat-drawer-content position

* set attributes based on direction and position

* add direction support

* update tests

* update doc

* fix direction description

* use native direction attribute

* bind to dir input

* update docs

* remove direction attribute

* listen to user preference textOrientation changes

* update tests

* remove unused import
This commit is contained in:
Cilibiu Bogdan
2019-05-20 17:45:10 +03:00
committed by Denys Vuika
parent 2f44c45903
commit bb0bdbfc1d
5 changed files with 93 additions and 18 deletions

View File

@@ -19,14 +19,6 @@
display: none !important;
}
&--position-left {
left: 25px;
}
&--position-right {
right: 25px;
}
&--minimized {
width: 20%;
@@ -88,4 +80,6 @@
}
}
}
[adfUploadDialogLeft] .adf-upload-dialog { left: 25px; }
[adfUploadDialogRight] .adf-upload-dialog { right: 25px;}
}