Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #218 from sandro-k/master
Browse files Browse the repository at this point in the history
fix --paper-slider-height marker offset
  • Loading branch information
Elliott Marquez authored Jun 14, 2018
2 parents 00fc674 + 9225a30 commit cc628c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion paper-slider.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@

.slider-markers {
position: absolute;
top: calc(14px + var(--paper-slider-height,2px)/2);
/* slider-knob is 30px + the slider-height so that the markers should start at a offset of 15px*/
top: 15px;
height: var(--calculated-paper-slider-height);
left: 0;
right: -1px;
Expand Down

0 comments on commit cc628c5

Please sign in to comment.