Skip to content

Commit

Permalink
change to 2d
Browse files Browse the repository at this point in the history
  • Loading branch information
leongersen committed Jan 3, 2018
1 parent 4af0b9c commit dd5515a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ on the handle/connect order in the DOM, there should be no issues upgrading.
- Fixed: Slider could ignore end events it should handle (#704, #805, #834);
- Fixed: Stop depending on array type (#801);
- Fixed: `set` method might bypass margin option (#823);
- Fixed: Alignment of pips for RTL sliders (#795);

### 10.1.0 (*2017-07-26*)
- Added: `multitouch` option (#793);
Expand Down
20 changes: 10 additions & 10 deletions src/nouislider.pips.less
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@
width: 100%;
}
.@{noUi-css-prefix}-value-horizontal {
-webkit-transform: translate3d(-50%,50%,0);
transform: translate3d(-50%,50%,0);
-webkit-transform: translate(-50%, 50%);
transform: translate(-50%, 50%);

.@{noUi-css-prefix}-rtl & {
-webkit-transform: translate3d(50%,50%,0);
transform: translate3d(50%,50%,0);
-webkit-transform: translate(50%, 50%);
transform: translate(50%, 50%);
}
}

Expand All @@ -81,13 +81,13 @@
left: 100%;
}
.@{noUi-css-prefix}-value-vertical {
-webkit-transform: translate3d(0,-50%,0);
transform: translate3d(0,-50%,0);
-webkit-transform: translate(0, -50%);
transform: translate(0,-50%,0);
padding-left: 25px;

.@{noUi-css-prefix}-rtl & {
-webkit-transform: translate3d(0,50%,0);
transform: translate3d(0,50%,0);
-webkit-transform: translate(0, 50%);
transform: translate(0, 50%);
}
}

Expand Down

0 comments on commit dd5515a

Please sign in to comment.