Skip to content

Commit

Permalink
fix: add fix for buttons not changing position in RTL in IE11 (#1933)
Browse files Browse the repository at this point in the history
  • Loading branch information
InnaAtanasova committed Dec 3, 2020
1 parent 0a1fcad commit cfbc72a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/badge.scss
Expand Up @@ -23,7 +23,7 @@ $block: #{$fd-namespace}-badge;
z-index: 10;

@include fd-rtl() {
right: initial;
right: auto;
left: 0.5rem;
}
}
10 changes: 6 additions & 4 deletions src/tile.scss
Expand Up @@ -459,7 +459,7 @@ $fd-line-tile-badge-horizontal-spacing: 0.375rem !default;
right: $fd-tile-toggle-button-position;

@include fd-rtl() {
right: initial;
right: auto;
left: $fd-tile-toggle-button-position;
}

Expand Down Expand Up @@ -636,7 +636,7 @@ $fd-line-tile-badge-horizontal-spacing: 0.375rem !default;
z-index: 5;

@include fd-rtl() {
right: initial;
right: auto;
left: $fd-tile-close-button-position;
}

Expand Down Expand Up @@ -676,9 +676,9 @@ $fd-line-tile-badge-horizontal-spacing: 0.375rem !default;
z-index: 5;

@include fd-rtl() {
right: initial;
right: auto;
left: 0;
margin-right: initial;
margin-right: auto;
margin-left: $fd-tile-action-indicator-offset;
}

Expand Down Expand Up @@ -913,6 +913,8 @@ $fd-line-tile-badge-horizontal-spacing: 0.375rem !default;
@include fd-rtl() {
margin-left: $fd-line-tile-badge-horizontal-spacing;
margin-right: 0;
left: 0;
right: 0;
}
}
}
Expand Down

0 comments on commit cfbc72a

Please sign in to comment.