Skip to content

Commit

Permalink
Fix arrow mixin (#712)
Browse files Browse the repository at this point in the history
  • Loading branch information
pepelyaeva authored Apr 3, 2020
1 parent 7855850 commit 1dc2034
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addon/styles/components/common/toggle-button.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
@bottonWidthSize: 1.2em;
@bottonHeightSize: 2.3em;

.arrow {
.toggle-arrow {
content: '';
position: absolute;
border: @iconHeight solid transparent;
}

.arrow-verticsl-button() {
.arrow();
.toggle-arrow();
top: calc(~'50% - @{iconHeight}');
}

.arrow-horisontal-button() {
.arrow();
.toggle-arrow();
left: calc(~'50% - @{iconHeight}');
}

Expand Down

0 comments on commit 1dc2034

Please sign in to comment.