Skip to content

Commit

Permalink
feat(file-upload): add rtl support
Browse files Browse the repository at this point in the history
  • Loading branch information
emoralesb05 committed Mar 10, 2017
1 parent 3f3a83e commit 393d035
Showing 1 changed file with 25 additions and 23 deletions.
48 changes: 25 additions & 23 deletions src/platform/core/file/file-upload/file-upload.component.scss
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
:host {
.td-file-upload {
padding-left: 8px;
padding-right: 8px;
.td-file-upload {
padding-left: 8px;
padding-right: 8px;
}
.td-file-upload-cancel {
height: 24px;
width: 24px;
position: relative;
top: 24px;
left: -12px;
/deep/ [dir='rtl'] & {
right: -12px;
left: 0;
}
.td-file-upload-cancel {
height: 24px;
width: 24px;
position: relative;
top: 24px;
left: -12px;
md-icon {
border-radius: 12px;
vertical-align: baseline;
}
md-icon {
border-radius: 12px;
vertical-align: baseline;
}
/**
* Class that is added ondragenter by the [TdFileDrop] directive.
*/
.drop-zone {
// Animation.
border-radius: 3px;
* {
pointer-events: none; //added to fix bug that re-throws dragleave/dragenter by child elements
}
}
/**
* Class that is added ondragenter by the [TdFileDrop] directive.
*/
.drop-zone {
// Animation.
border-radius: 3px;
* {
pointer-events: none; //added to fix bug that re-throws dragleave/dragenter by child elements
}
}

0 comments on commit 393d035

Please sign in to comment.